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
|
||||
;; 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…
Add table
Reference in a new issue