Commit bc4c07fc authored by Paul Pogonyshev's avatar Paul Pogonyshev Committed by Noam Postavsky
Browse files

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).
parent 66f95e0d
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment