aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoah Friedman1995-11-18 22:32:07 +0000
committerNoah Friedman1995-11-18 22:32:07 +0000
commitbd3e1759259f1f64c7e79d0779c4d156128b83d3 (patch)
tree39f8387730893a6a017fdabd28090fd00a4ab357
parent6540a6f85b7b0bc2f62ec6bc6d0785f0be8c0c1f (diff)
downloademacs-bd3e1759259f1f64c7e79d0779c4d156128b83d3.tar.gz
emacs-bd3e1759259f1f64c7e79d0779c4d156128b83d3.zip
(eldoc-minor-mode-string): New variable.
-rw-r--r--lisp/emacs-lisp/eldoc.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index ff9826375df..f8a83073f4e 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -11,9 +11,9 @@
11;; LCD Archive Entry: 11;; LCD Archive Entry:
12;; eldoc|Noah Friedman|friedman@prep.ai.mit.edu| 12;; eldoc|Noah Friedman|friedman@prep.ai.mit.edu|
13;; show function arglist or variable docstring in echo area| 13;; show function arglist or variable docstring in echo area|
14;; $Date: 1995/11/12 21:04:08 $|$Revision: 1.1 $|~/misc/eldoc.el.gz| 14;; $Date: 1995/11/13 01:37:40 $|$Revision: 1.2 $|~/misc/eldoc.el.gz|
15 15
16;; $Id: eldoc.el,v 1.1 1995/11/12 21:04:08 friedman Rel friedman $ 16;; $Id: eldoc.el,v 1.2 1995/11/13 01:37:40 friedman Exp friedman $
17 17
18;; This program is free software; you can redistribute it and/or modify 18;; This program is free software; you can redistribute it and/or modify
19;; it under the terms of the GNU General Public License as published by 19;; it under the terms of the GNU General Public License as published by
@@ -115,11 +115,14 @@ It is probably best to manipulate this data structure with the commands
115;; be printed again if necessary without reconsing. 115;; be printed again if necessary without reconsing.
116(defvar eldoc-last-data '(nil . nil)) 116(defvar eldoc-last-data '(nil . nil))
117 117
118(defvar eldoc-minor-mode-string " ElDoc"
119 "*String to display in mode line when Eldoc Mode is enabled.")
120
118;; Put this minor mode on the global minor-mode-alist. 121;; Put this minor mode on the global minor-mode-alist.
119(or (assq 'eldoc-mode (default-value 'minor-mode-alist)) 122(or (assq 'eldoc-mode (default-value 'minor-mode-alist))
120 (setq-default minor-mode-alist 123 (setq-default minor-mode-alist
121 (append (default-value 'minor-mode-alist) 124 (append (default-value 'minor-mode-alist)
122 '((eldoc-mode " ElDoc"))))) 125 '((eldoc-mode eldoc-minor-mode-string)))))
123 126
124 127
125;;;###autoload 128;;;###autoload