diff options
| author | Leo Liu | 2014-09-27 18:08:59 +0800 |
|---|---|---|
| committer | Leo Liu | 2014-09-27 18:08:59 +0800 |
| commit | 548e1696229e56053f5eb74b3f6d1c50041b0375 (patch) | |
| tree | 80cc41fbc17266ae6e0de578faa84e397bad7a51 | |
| parent | 87eb617ac82d28a092a63958d29d4c616fdb43f7 (diff) | |
| download | emacs-548e1696229e56053f5eb74b3f6d1c50041b0375.tar.gz emacs-548e1696229e56053f5eb74b3f6d1c50041b0375.zip | |
* lisp/emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
* lisp/progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/eldoc.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/elisp-mode.el | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 146dda5b9cd..a1a453abd7d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-09-27 Leo Liu <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar. | ||
| 4 | |||
| 5 | * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko. | ||
| 6 | |||
| 1 | 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match): | 9 | * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match): |
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index c190e2745ef..9e15375d924 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -186,7 +186,7 @@ expression point is on." | |||
| 186 | :group 'eldoc :lighter eldoc-minor-mode-string | 186 | :group 'eldoc :lighter eldoc-minor-mode-string |
| 187 | (setq eldoc-last-message nil) | 187 | (setq eldoc-last-message nil) |
| 188 | (cond | 188 | (cond |
| 189 | (eldoc-documentation-function | 189 | ((not eldoc-documentation-function) |
| 190 | (message "There is no ElDoc support in this buffer") | 190 | (message "There is no ElDoc support in this buffer") |
| 191 | (setq eldoc-mode nil)) | 191 | (setq eldoc-mode nil)) |
| 192 | (eldoc-mode | 192 | (eldoc-mode |
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 41d2cd83b25..f3143bd76ee 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el | |||
| @@ -1009,7 +1009,7 @@ which see." | |||
| 1009 | 1009 | ||
| 1010 | ;;; ElDoc Support | 1010 | ;;; ElDoc Support |
| 1011 | 1011 | ||
| 1012 | (defconst elisp--eldoc-last-data (make-vector 3 nil) | 1012 | (defvar elisp--eldoc-last-data (make-vector 3 nil) |
| 1013 | "Bookkeeping; elements are as follows: | 1013 | "Bookkeeping; elements are as follows: |
| 1014 | 0 - contains the last symbol read from the buffer. | 1014 | 0 - contains the last symbol read from the buffer. |
| 1015 | 1 - contains the string last displayed in the echo area for variables, | 1015 | 1 - contains the string last displayed in the echo area for variables, |