[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 bc4c07f: Don't let completion break `declare' han
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] emacs-25 bc4c07f: Don't let completion break `declare' handling |
Date: |
Sat, 23 Jul 2016 14:17:34 +0000 (UTC) |
branch: emacs-25
commit bc4c07fca58a140c197c0e4010550d42c808b416
Author: Paul Pogonyshev <address@hidden>
Commit: Noam Postavsky <address@hidden>
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).
---
lisp/progmodes/elisp-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 5111f88..d02951d 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 bc4c07f: Don't let completion break `declare' handling,
Noam Postavsky <=