diff options
author | Paul Pogonyshev <pogonyshev@gmail.com> | 2016-07-23 10:12:56 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2016-07-23 10:16:38 -0400 |
commit | bc4c07fca58a140c197c0e4010550d42c808b416 (patch) | |
tree | ed9197921dd3a4866b289d3d73fc2def83d546f9 | |
parent | 66f95e0dabf750e9d2eff59b2bb6e593618cd48a (diff) | |
download | emacs-bc4c07fca58a140c197c0e4010550d42c808b416.tar.gz |
Don't let completion break `declare' handling
* elisp-mode.el (elisp-completion-at-point): Fix to not alter
`defun-declarations-alist' by side effect (Bug #23648).
-rw-r--r-- | lisp/progmodes/elisp-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 5111f887091..d02951dcf62 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -542,9 +542,9 @@ functions are annotated with \"<f>\" via the (delete-dups ;; FIXME: We should include some ;; docstring with each entry. - (append - macro-declarations-alist - defun-declarations-alist))))) + (append macro-declarations-alist + defun-declarations-alist + nil))))) ; Copy both alists. ((and (or `condition-case `condition-case-unless-debug) (guard (save-excursion (ignore-errors |