aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-09-06 05:19:23 +0000
committerGlenn Morris2007-09-06 05:19:23 +0000
commitb92317dc01849f89f036e43ea273adc81d11df11 (patch)
tree49c8b7565ee5ee41962bfbdc84aae7897f408ab8
parentf657c21b5ad3e2713a3ac313dc42fa5150e004c6 (diff)
downloademacs-b92317dc01849f89f036e43ea273adc81d11df11.tar.gz
emacs-b92317dc01849f89f036e43ea273adc81d11df11.zip
(checkdoc-minor-mode-string): New.
(checkdoc-minor-mode): Allow user to specify lighter via checkdoc-minor-mode-string.
-rw-r--r--lisp/emacs-lisp/checkdoc.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index e1835d75fcb..1b32732c59a 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -199,6 +199,12 @@
199 :group 'lisp 199 :group 'lisp
200 :version "20.3") 200 :version "20.3")
201 201
202(defcustom checkdoc-minor-mode-string " CDoc"
203 "*String to display in mode line when Checkdoc mode is enabled; nil for none."
204 :type '(choice string (const :tag "None" nil))
205 :group 'checkdoc
206 :version "23.1")
207
202(defcustom checkdoc-autofix-flag 'semiautomatic 208(defcustom checkdoc-autofix-flag 'semiautomatic
203 "Non-nil means attempt auto-fixing of doc strings. 209 "Non-nil means attempt auto-fixing of doc strings.
204If this value is the symbol `query', then the user is queried before 210If this value is the symbol `query', then the user is queried before
@@ -1251,7 +1257,7 @@ bound to \\<checkdoc-minor-mode-map>\\[checkdoc-eval-defun] and `checkdoc-eval-c
1251checking of documentation strings. 1257checking of documentation strings.
1252 1258
1253\\{checkdoc-minor-mode-map}" 1259\\{checkdoc-minor-mode-map}"
1254 nil " CDoc" nil 1260 nil checkdoc-minor-mode-string nil
1255 :group 'checkdoc) 1261 :group 'checkdoc)
1256 1262
1257;;; Subst utils 1263;;; Subst utils