Skip to content

Commit

Permalink
Don't let completion break `declare' handling
Browse files Browse the repository at this point in the history
* elisp-mode.el (elisp-completion-at-point): Fix to not alter
`defun-declarations-alist' by side effect (Bug #23648).
  • Loading branch information
doublep authored and npostavs committed Jul 23, 2016
1 parent 66f95e0 commit bc4c07f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lisp/progmodes/elisp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc4c07f

Please sign in to comment.