mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
(completion-lisp-mode-hook): Use completion-separator-chars
* lisp/completion.el (completion-lisp-mode-hook): Use completion-separator-chars rather than local key binding.
This commit is contained in:
parent
c9d78e18c6
commit
f6bdbdf1f5
@ -2228,12 +2228,9 @@ TYPE is the type of the wrapper to be added. Can be :before or :under."
|
||||
(defun completion-lisp-mode-hook ()
|
||||
(setq completion-syntax-table completion-lisp-syntax-table)
|
||||
;; Lisp Mode diffs
|
||||
(local-set-key "!" 'self-insert-command)
|
||||
(local-set-key "&" 'self-insert-command)
|
||||
(local-set-key "%" 'self-insert-command)
|
||||
(local-set-key "?" 'self-insert-command)
|
||||
(local-set-key "=" 'self-insert-command)
|
||||
(local-set-key "^" 'self-insert-command))
|
||||
(setq-local completion-separator-chars
|
||||
(cl-set-difference completion-separator-chars
|
||||
(append "!&%?=^" nil))))
|
||||
|
||||
;; C mode diffs.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user