]> git.eshelyaron.com Git - emacs.git/commit
Simplify substitute-command-keys
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Jul 2015 21:23:27 +0000 (14:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Jul 2015 05:55:20 +0000 (22:55 -0700)
commit0c26ac734b1ce48d9ced0d0528f1829de363f2a3
tree6ee6320ee668526a823008459921d64b0e84895d
parentf9f3aa548b6703e2467c1a38a85e8da9319efa8b
Simplify substitute-command-keys

This does not affect behavior (other than performance).
* src/doc.c (Fsubstitute_command_keys):
Simplify output buffer reallocation, and simplify copying.
Move local decls closer to where they're used.
Prefer bool for boolean.
src/doc.c