]> git.eshelyaron.com Git - emacs.git/commit
* lisp/completion.el: Use post-self-insert-hook.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Dec 2014 17:35:29 +0000 (12:35 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Dec 2014 17:35:29 +0000 (12:35 -0500)
commitb366b3bbf5ce0f6b47afec2eff0f7d27291e9a6f
tree6922917248792d0fc8d2b35c2078948eb6d1682a
parentfafba80d7353f4ab5c359df75798f8130599371a
* lisp/completion.el: Use post-self-insert-hook.

Fixes: debbugs:19400
(completion-separator-self-insert-command)
(completion-separator-self-insert-autofilling): Remove.
(completion-separator-chars): New var.
(completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
of changing the keymap.
(completion--post-self-insert): New function.
(dynamic-completion-mode): Use it instead of rebinding keys.
(cmpl--completion-string): Rename from completion-string.
(add-completion-to-head, delete-completion): Let-bind it explicitly.
lisp/ChangeLog
lisp/completion.el