[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117964: * lisp/emacs-lisp/eldoc.el (eldoc-mode): Fi
From: |
Leo Liu |
Subject: |
[Emacs-diffs] trunk r117964: * lisp/emacs-lisp/eldoc.el (eldoc-mode): Fix thinko. |
Date: |
Sat, 27 Sep 2014 10:10:08 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117964
revision-id: address@hidden
parent: address@hidden
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Sat 2014-09-27 18:08:59 +0800
message:
* lisp/emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
* lisp/progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/emacs-lisp/eldoc.el eldoc.el-20091113204419-o5vbwnq5f7feedwu-952
lisp/progmodes/elisp-mode.el elispmode.el-20140927013948-e1y3x6iieoc5zmhn-1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-09-27 04:24:06 +0000
+++ b/lisp/ChangeLog 2014-09-27 10:08:59 +0000
@@ -1,3 +1,9 @@
+2014-09-27 Leo Liu <address@hidden>
+
+ * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
+
+ * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
+
2014-09-27 Stefan Monnier <address@hidden>
* emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
=== modified file 'lisp/emacs-lisp/eldoc.el'
--- a/lisp/emacs-lisp/eldoc.el 2014-09-27 03:57:41 +0000
+++ b/lisp/emacs-lisp/eldoc.el 2014-09-27 10:08:59 +0000
@@ -186,7 +186,7 @@
:group 'eldoc :lighter eldoc-minor-mode-string
(setq eldoc-last-message nil)
(cond
- (eldoc-documentation-function
+ ((not eldoc-documentation-function)
(message "There is no ElDoc support in this buffer")
(setq eldoc-mode nil))
(eldoc-mode
=== modified file 'lisp/progmodes/elisp-mode.el'
--- a/lisp/progmodes/elisp-mode.el 2014-09-27 03:57:41 +0000
+++ b/lisp/progmodes/elisp-mode.el 2014-09-27 10:08:59 +0000
@@ -1009,7 +1009,7 @@
;;; ElDoc Support
-(defconst elisp--eldoc-last-data (make-vector 3 nil)
+(defvar elisp--eldoc-last-data (make-vector 3 nil)
"Bookkeeping; elements are as follows:
0 - contains the last symbol read from the buffer.
1 - contains the string last displayed in the echo area for variables,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117964: * lisp/emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.,
Leo Liu <=