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:
committed by
Noam Postavsky
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
|
||||
|
||||
Reference in New Issue
Block a user