mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-12 08:46:36 -04:00
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).
This commit is contained in:
parent
66f95e0dab
commit
bc4c07fca5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue