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
1 changed files with 3 additions and 3 deletions
|
@ -542,9 +542,9 @@ functions are annotated with \"<f>\" via the
|
||||||
(delete-dups
|
(delete-dups
|
||||||
;; FIXME: We should include some
|
;; FIXME: We should include some
|
||||||
;; docstring with each entry.
|
;; docstring with each entry.
|
||||||
(append
|
(append macro-declarations-alist
|
||||||
macro-declarations-alist
|
defun-declarations-alist
|
||||||
defun-declarations-alist)))))
|
nil))))) ; Copy both alists.
|
||||||
((and (or `condition-case `condition-case-unless-debug)
|
((and (or `condition-case `condition-case-unless-debug)
|
||||||
(guard (save-excursion
|
(guard (save-excursion
|
||||||
(ignore-errors
|
(ignore-errors
|
||||||
|
|
Loading…
Add table
Reference in a new issue