aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Shahid2018-07-01 23:34:53 -0400
committerStefan Monnier2018-07-01 23:34:53 -0400
commitee3e432300054ca488896e39fca57b10d733330a (patch)
tree3ba92bb1967b9c2047931cc43175641fa8a1e05c
parentfd5bf49139ab84f630b60c6714e0db2da34edff2 (diff)
downloademacs-ee3e432300054ca488896e39fca57b10d733330a.tar.gz
emacs-ee3e432300054ca488896e39fca57b10d733330a.zip
Optionally add argument description in minor mode DOC (bug#10754)
Add a paragraph to minor mode's docstring documenting the mode's ARG usage if the supplied docstring doesn't already contain the word "ARG". * easy-mmode.el (easy-mmode--arg-docstring): New const. (easy-mmode--arg-docstring): New function. (define-minor-mode): Use them. Remove argument documentation from all minor modes.
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/abbrev.el3
-rw-r--r--lisp/allout-widgets.el3
-rw-r--r--lisp/allout.el3
-rw-r--r--lisp/autoarg.el6
-rw-r--r--lisp/autoinsert.el3
-rw-r--r--lisp/autorevert.el9
-rw-r--r--lisp/battery.el3
-rw-r--r--lisp/cedet/ede.el6
-rw-r--r--lisp/cedet/ede/dired.el4
-rw-r--r--lisp/cedet/semantic.el3
-rw-r--r--lisp/cedet/semantic/db-mode.el1
-rw-r--r--lisp/cedet/semantic/decorate/mode.el12
-rw-r--r--lisp/cedet/semantic/idle.el19
-rw-r--r--lisp/cedet/semantic/mru-bookmark.el10
-rw-r--r--lisp/cedet/semantic/util-modes.el52
-rw-r--r--lisp/cedet/srecode/mode.el11
-rw-r--r--lisp/completion.el5
-rw-r--r--lisp/composite.el6
-rw-r--r--lisp/delsel.el6
-rw-r--r--lisp/desktop.el3
-rw-r--r--lisp/dired-x.el3
-rw-r--r--lisp/dirtrack.el8
-rw-r--r--lisp/doc-view.el3
-rw-r--r--lisp/double.el3
-rw-r--r--lisp/elec-pair.el3
-rw-r--r--lisp/electric.el10
-rw-r--r--lisp/emacs-lisp/checkdoc.el3
-rw-r--r--lisp/emacs-lisp/easy-mmode.el31
-rw-r--r--lisp/emacs-lisp/eldoc.el3
-rw-r--r--lisp/emacs-lock.el4
-rw-r--r--lisp/emulation/cua-base.el3
-rw-r--r--lisp/epa-hook.el5
-rw-r--r--lisp/epa-mail.el10
-rw-r--r--lisp/erc/erc-track.el3
-rw-r--r--lisp/face-remap.el10
-rw-r--r--lisp/files.el8
-rw-r--r--lisp/follow.el3
-rw-r--r--lisp/font-core.el3
-rw-r--r--lisp/frame.el12
-rw-r--r--lisp/help.el3
-rw-r--r--lisp/hexl.el1
-rw-r--r--lisp/hi-lock.el3
-rw-r--r--lisp/hilit-chg.el6
-rw-r--r--lisp/hl-line.el6
-rw-r--r--lisp/ibuf-ext.el5
-rw-r--r--lisp/icomplete.el3
-rw-r--r--lisp/ido.el5
-rw-r--r--lisp/image-file.el3
-rw-r--r--lisp/image-mode.el3
-rw-r--r--lisp/international/iso-ascii.el5
-rw-r--r--lisp/jit-lock.el1
-rw-r--r--lisp/jka-cmpr-hook.el3
-rw-r--r--lisp/language/thai-util.el9
-rw-r--r--lisp/linum.el4
-rw-r--r--lisp/mail/footnote.el3
-rw-r--r--lisp/mail/mailabbrev.el3
-rw-r--r--lisp/master.el3
-rw-r--r--lisp/mb-depth.el3
-rw-r--r--lisp/menu-bar.el3
-rw-r--r--lisp/minibuf-eldef.el3
-rw-r--r--lisp/msb.el3
-rw-r--r--lisp/mwheel.el5
-rw-r--r--lisp/net/goto-addr.el5
-rw-r--r--lisp/net/rcirc.el13
-rw-r--r--lisp/obsolete/complete.el1
-rw-r--r--lisp/obsolete/crisp.el5
-rw-r--r--lisp/obsolete/iswitchb.el3
-rw-r--r--lisp/obsolete/longlines.el3
-rw-r--r--lisp/obsolete/mouse-sel.el3
-rw-r--r--lisp/obsolete/old-whitespace.el1
-rw-r--r--lisp/obsolete/tpu-edt.el5
-rw-r--r--lisp/obsolete/tpu-extras.el5
-rw-r--r--lisp/obsolete/xesam.el3
-rw-r--r--lisp/outline.el3
-rw-r--r--lisp/paren.el3
-rw-r--r--lisp/pixel-scroll.el5
-rw-r--r--lisp/progmodes/bug-reference.el5
-rw-r--r--lisp/progmodes/compile.el6
-rw-r--r--lisp/progmodes/cwarn.el6
-rw-r--r--lisp/progmodes/flymake.el3
-rw-r--r--lisp/progmodes/gdb-mi.el4
-rw-r--r--lisp/progmodes/glasses.el7
-rw-r--r--lisp/progmodes/gud.el5
-rw-r--r--lisp/progmodes/hideif.el3
-rw-r--r--lisp/progmodes/hideshow.el3
-rw-r--r--lisp/progmodes/idlw-shell.el3
-rw-r--r--lisp/progmodes/pascal.el3
-rw-r--r--lisp/progmodes/prog-mode.el3
-rw-r--r--lisp/progmodes/subword.el6
-rw-r--r--lisp/progmodes/vhdl-mode.el10
-rw-r--r--lisp/progmodes/which-func.el3
-rw-r--r--lisp/recentf.el3
-rw-r--r--lisp/rect.el1
-rw-r--r--lisp/reveal.el9
-rw-r--r--lisp/rfn-eshadow.el3
-rw-r--r--lisp/ruler-mode.el5
-rw-r--r--lisp/savehist.el3
-rw-r--r--lisp/saveplace.el3
-rw-r--r--lisp/scroll-all.el3
-rw-r--r--lisp/scroll-bar.el6
-rw-r--r--lisp/scroll-lock.el11
-rw-r--r--lisp/server.el3
-rw-r--r--lisp/shell.el3
-rw-r--r--lisp/simple.el58
-rw-r--r--lisp/strokes.el3
-rw-r--r--lisp/t-mouse.el3
-rw-r--r--lisp/tar-mode.el10
-rw-r--r--lisp/term/tvi970.el3
-rw-r--r--lisp/term/vt100.el5
-rw-r--r--lisp/textmodes/artist.el2
-rw-r--r--lisp/textmodes/enriched.el4
-rw-r--r--lisp/textmodes/flyspell.el3
-rw-r--r--lisp/textmodes/ispell.el3
-rw-r--r--lisp/textmodes/nroff-mode.el3
-rw-r--r--lisp/textmodes/paragraphs.el3
-rw-r--r--lisp/textmodes/refill.el3
-rw-r--r--lisp/textmodes/rst.el3
-rw-r--r--lisp/textmodes/sgml-mode.el6
-rw-r--r--lisp/textmodes/tex-mode.el3
-rw-r--r--lisp/time.el3
-rw-r--r--lisp/tool-bar.el3
-rw-r--r--lisp/tooltip.el3
-rw-r--r--lisp/type-break.el9
-rw-r--r--lisp/url/url-dired.el5
-rw-r--r--lisp/url/url-handlers.el5
-rw-r--r--lisp/vc/diff-mode.el6
-rw-r--r--lisp/vc/smerge-mode.el4
-rw-r--r--lisp/vcursor.el3
-rw-r--r--lisp/view.el3
-rw-r--r--lisp/whitespace.el20
-rw-r--r--lisp/wid-browse.el5
-rw-r--r--lisp/winner.el3
-rw-r--r--lisp/xt-mouse.el3
134 files changed, 136 insertions, 619 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 3f761e9210b..c92ee6e6804 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -689,6 +689,8 @@ manual for more details.
689 689
690* Lisp Changes in Emacs 27.1 690* Lisp Changes in Emacs 27.1
691 691
692** define-minor-mode automatically documents the meaning of ARG
693
692+++ 694+++
693** The function 'recenter' now accepts an additional optional argument. 695** The function 'recenter' now accepts an additional optional argument.
694By default, calling 'recenter' will not redraw the frame even if 696By default, calling 'recenter' will not redraw the frame even if
diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index fd2f36e1980..cddce8f5294 100644
--- a/lisp/abbrev.el
+++ b/lisp/abbrev.el
@@ -56,9 +56,6 @@ define global abbrevs instead."
56 56
57(define-minor-mode abbrev-mode 57(define-minor-mode abbrev-mode
58 "Toggle Abbrev mode in the current buffer. 58 "Toggle Abbrev mode in the current buffer.
59With a prefix argument ARG, enable Abbrev mode if ARG is
60positive, and disable it otherwise. If called from Lisp, enable
61Abbrev mode if ARG is omitted or nil.
62 59
63In Abbrev mode, inserting an abbreviation causes it to expand and 60In Abbrev mode, inserting an abbreviation causes it to expand and
64be replaced by its expansion." 61be replaced by its expansion."
diff --git a/lisp/allout-widgets.el b/lisp/allout-widgets.el
index 71b1b390089..5abd9788ddf 100644
--- a/lisp/allout-widgets.el
+++ b/lisp/allout-widgets.el
@@ -513,9 +513,6 @@ happens in the buffer.")
513;;;###autoload 513;;;###autoload
514(define-minor-mode allout-widgets-mode 514(define-minor-mode allout-widgets-mode
515 "Toggle Allout Widgets mode. 515 "Toggle Allout Widgets mode.
516With a prefix argument ARG, enable Allout Widgets mode if ARG is
517positive, and disable it otherwise. If called from Lisp, enable
518the mode if ARG is omitted or nil.
519 516
520Allout Widgets mode is an extension of Allout mode that provides 517Allout Widgets mode is an extension of Allout mode that provides
521graphical decoration of outline structure. It is meant to 518graphical decoration of outline structure. It is meant to
diff --git a/lisp/allout.el b/lisp/allout.el
index 26e7f6b56c2..a123ece9b95 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -1693,9 +1693,6 @@ valid values."
1693(define-minor-mode allout-mode 1693(define-minor-mode allout-mode
1694;;;_ . Doc string: 1694;;;_ . Doc string:
1695 "Toggle Allout outline mode. 1695 "Toggle Allout outline mode.
1696With a prefix argument ARG, enable Allout outline mode if ARG is
1697positive, and disable it otherwise. If called from Lisp, enable
1698the mode if ARG is omitted or nil.
1699 1696
1700\\<allout-mode-map-value> 1697\\<allout-mode-map-value>
1701Allout outline mode is a minor mode that provides extensive 1698Allout outline mode is a minor mode that provides extensive
diff --git a/lisp/autoarg.el b/lisp/autoarg.el
index 096bdefc1a6..4bf5785c7d4 100644
--- a/lisp/autoarg.el
+++ b/lisp/autoarg.el
@@ -90,9 +90,6 @@
90;;;###autoload 90;;;###autoload
91(define-minor-mode autoarg-mode 91(define-minor-mode autoarg-mode
92 "Toggle Autoarg mode, a global minor mode. 92 "Toggle Autoarg mode, a global minor mode.
93With a prefix argument ARG, enable Autoarg mode if ARG is
94positive, and disable it otherwise. If called from Lisp, enable
95the mode if ARG is omitted or nil.
96 93
97\\<autoarg-mode-map> 94\\<autoarg-mode-map>
98In Autoarg mode, digits are bound to `digit-argument', i.e. they 95In Autoarg mode, digits are bound to `digit-argument', i.e. they
@@ -116,9 +113,6 @@ then invokes the normal binding of \\[autoarg-terminate].
116;;;###autoload 113;;;###autoload
117(define-minor-mode autoarg-kp-mode 114(define-minor-mode autoarg-kp-mode
118 "Toggle Autoarg-KP mode, a global minor mode. 115 "Toggle Autoarg-KP mode, a global minor mode.
119With a prefix argument ARG, enable Autoarg-KP mode if ARG is
120positive, and disable it otherwise. If called from Lisp, enable
121the mode if ARG is omitted or nil.
122 116
123\\<autoarg-kp-mode-map> 117\\<autoarg-kp-mode-map>
124This is similar to `autoarg-mode' but rebinds the keypad keys 118This is similar to `autoarg-mode' but rebinds the keypad keys
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el
index 7858041440d..cb0d15196f8 100644
--- a/lisp/autoinsert.el
+++ b/lisp/autoinsert.el
@@ -412,9 +412,6 @@ or if CONDITION had no actions, after all other CONDITIONs."
412;;;###autoload 412;;;###autoload
413(define-minor-mode auto-insert-mode 413(define-minor-mode auto-insert-mode
414 "Toggle Auto-insert mode, a global minor mode. 414 "Toggle Auto-insert mode, a global minor mode.
415With a prefix argument ARG, enable Auto-insert mode if ARG is
416positive, and disable it otherwise. If called from Lisp, enable
417the mode if ARG is omitted or nil.
418 415
419When Auto-insert mode is enabled, when new files are created you can 416When Auto-insert mode is enabled, when new files are created you can
420insert a template for the file depending on the mode of the buffer." 417insert a template for the file depending on the mode of the buffer."
diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index 0a9d3bef546..c60fe010a3b 100644
--- a/lisp/autorevert.el
+++ b/lisp/autorevert.el
@@ -351,9 +351,6 @@ This has been reported by a file notification event.")
351;;;###autoload 351;;;###autoload
352(define-minor-mode auto-revert-mode 352(define-minor-mode auto-revert-mode
353 "Toggle reverting buffer when the file changes (Auto-Revert Mode). 353 "Toggle reverting buffer when the file changes (Auto-Revert Mode).
354With a prefix argument ARG, enable Auto-Revert Mode if ARG is
355positive, and disable it otherwise. If called from Lisp, enable
356the mode if ARG is omitted or nil.
357 354
358Auto-Revert Mode is a minor mode that affects only the current 355Auto-Revert Mode is a minor mode that affects only the current
359buffer. When enabled, it reverts the buffer when the file on 356buffer. When enabled, it reverts the buffer when the file on
@@ -393,9 +390,6 @@ This function is designed to be added to hooks, for example:
393;;;###autoload 390;;;###autoload
394(define-minor-mode auto-revert-tail-mode 391(define-minor-mode auto-revert-tail-mode
395 "Toggle reverting tail of buffer when the file grows. 392 "Toggle reverting tail of buffer when the file grows.
396With a prefix argument ARG, enable Auto-Revert Tail Mode if ARG
397is positive, and disable it otherwise. If called from Lisp,
398enable the mode if ARG is omitted or nil.
399 393
400When Auto-Revert Tail Mode is enabled, the tail of the file is 394When Auto-Revert Tail Mode is enabled, the tail of the file is
401constantly followed, as with the shell command `tail -f'. This 395constantly followed, as with the shell command `tail -f'. This
@@ -460,9 +454,6 @@ This function is designed to be added to hooks, for example:
460;;;###autoload 454;;;###autoload
461(define-minor-mode global-auto-revert-mode 455(define-minor-mode global-auto-revert-mode
462 "Toggle Global Auto-Revert Mode. 456 "Toggle Global Auto-Revert Mode.
463With a prefix argument ARG, enable Global Auto-Revert Mode if ARG
464is positive, and disable it otherwise. If called from Lisp,
465enable the mode if ARG is omitted or nil.
466 457
467Global Auto-Revert Mode is a global minor mode that reverts any 458Global Auto-Revert Mode is a global minor mode that reverts any
468buffer associated with a file when the file changes on disk. Use 459buffer associated with a file when the file changes on disk. Use
diff --git a/lisp/battery.el b/lisp/battery.el
index ca17ae8fc34..192a6ae8980 100644
--- a/lisp/battery.el
+++ b/lisp/battery.el
@@ -175,9 +175,6 @@ The text being displayed in the echo area is controlled by the variables
175;;;###autoload 175;;;###autoload
176(define-minor-mode display-battery-mode 176(define-minor-mode display-battery-mode
177 "Toggle battery status display in mode line (Display Battery mode). 177 "Toggle battery status display in mode line (Display Battery mode).
178With a prefix argument ARG, enable Display Battery mode if ARG is
179positive, and disable it otherwise. If called from Lisp, enable
180the mode if ARG is omitted or nil.
181 178
182The text displayed in the mode line is controlled by 179The text displayed in the mode line is controlled by
183`battery-mode-line-format' and `battery-status-function'. 180`battery-mode-line-format' and `battery-status-function'.
diff --git a/lisp/cedet/ede.el b/lisp/cedet/ede.el
index 5bbc2d0f850..1168f268422 100644
--- a/lisp/cedet/ede.el
+++ b/lisp/cedet/ede.el
@@ -475,9 +475,6 @@ To be used in hook functions."
475 475
476(define-minor-mode ede-minor-mode 476(define-minor-mode ede-minor-mode
477 "Toggle EDE (Emacs Development Environment) minor mode. 477 "Toggle EDE (Emacs Development Environment) minor mode.
478With a prefix argument ARG, enable EDE minor mode if ARG is
479positive, and disable it otherwise. If called from Lisp, enable
480EDE minor mode if ARG is omitted or nil.
481 478
482If this file is contained, or could be contained in an EDE 479If this file is contained, or could be contained in an EDE
483controlled project, then this mode is activated automatically 480controlled project, then this mode is activated automatically
@@ -563,9 +560,6 @@ Sets buffer local variables for EDE."
563;;;###autoload 560;;;###autoload
564(define-minor-mode global-ede-mode 561(define-minor-mode global-ede-mode
565 "Toggle global EDE (Emacs Development Environment) mode. 562 "Toggle global EDE (Emacs Development Environment) mode.
566With a prefix argument ARG, enable global EDE mode if ARG is
567positive, and disable it otherwise. If called from Lisp, enable
568the mode if ARG is omitted or nil.
569 563
570This global minor mode enables `ede-minor-mode' in all buffers in 564This global minor mode enables `ede-minor-mode' in all buffers in
571an EDE controlled project." 565an EDE controlled project."
diff --git a/lisp/cedet/ede/dired.el b/lisp/cedet/ede/dired.el
index 33afc7e5473..9600d3dd346 100644
--- a/lisp/cedet/ede/dired.el
+++ b/lisp/cedet/ede/dired.el
@@ -59,9 +59,7 @@
59 59
60;;;###autoload 60;;;###autoload
61(define-minor-mode ede-dired-minor-mode 61(define-minor-mode ede-dired-minor-mode
62 "A minor mode that should only be activated in DIRED buffers. 62 "A minor mode that should only be activated in DIRED buffers."
63If ARG is nil or a positive number, force on, if
64negative, force off."
65 :lighter " EDE" :keymap ede-dired-keymap 63 :lighter " EDE" :keymap ede-dired-keymap
66 (unless (derived-mode-p 'dired-mode) 64 (unless (derived-mode-p 'dired-mode)
67 (setq ede-dired-minor-mode nil) 65 (setq ede-dired-minor-mode nil)
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el
index b24e2fbbb1b..f0a1e6bb5a8 100644
--- a/lisp/cedet/semantic.el
+++ b/lisp/cedet/semantic.el
@@ -1096,9 +1096,6 @@ The following modes are more targeted at people who want to see
1096;;;###autoload 1096;;;###autoload
1097(define-minor-mode semantic-mode 1097(define-minor-mode semantic-mode
1098 "Toggle parser features (Semantic mode). 1098 "Toggle parser features (Semantic mode).
1099With a prefix argument ARG, enable Semantic mode if ARG is
1100positive, and disable it otherwise. If called from Lisp, enable
1101Semantic mode if ARG is omitted or nil.
1102 1099
1103In Semantic mode, Emacs parses the buffers you visit for their 1100In Semantic mode, Emacs parses the buffers you visit for their
1104semantic content. This information is used by a variety of 1101semantic content. This information is used by a variety of
diff --git a/lisp/cedet/semantic/db-mode.el b/lisp/cedet/semantic/db-mode.el
index e6a2340b8c2..638f2915f09 100644
--- a/lisp/cedet/semantic/db-mode.el
+++ b/lisp/cedet/semantic/db-mode.el
@@ -56,7 +56,6 @@
56;;;###autoload 56;;;###autoload
57(define-minor-mode global-semanticdb-minor-mode 57(define-minor-mode global-semanticdb-minor-mode
58 "Toggle Semantic DB mode. 58 "Toggle Semantic DB mode.
59With ARG, turn Semantic DB mode on if ARG is positive, off otherwise.
60 59
61In Semantic DB mode, Semantic parsers store results in a 60In Semantic DB mode, Semantic parsers store results in a
62database, which can be saved for future Emacs sessions." 61database, which can be saved for future Emacs sessions."
diff --git a/lisp/cedet/semantic/decorate/mode.el b/lisp/cedet/semantic/decorate/mode.el
index 100e221ce31..77a8471e275 100644
--- a/lisp/cedet/semantic/decorate/mode.el
+++ b/lisp/cedet/semantic/decorate/mode.el
@@ -249,13 +249,13 @@ by `semantic-decoration-styles'."
249 249
250(define-minor-mode semantic-decoration-mode 250(define-minor-mode semantic-decoration-mode
251 "Minor mode for decorating tags. 251 "Minor mode for decorating tags.
252Decorations are specified in `semantic-decoration-styles'. 252Decorations are specified in `semantic-decoration-styles'. You
253You can define new decoration styles with 253can define new decoration styles with
254`define-semantic-decoration-style'. 254`define-semantic-decoration-style'.
255With prefix argument ARG, turn on if positive, otherwise off. The 255
256minor mode can be turned on only if semantic feature is available and 256The minor mode can be turned on only if semantic feature is
257the current buffer was set up for parsing. Return non-nil if the 257available and the current buffer was set up for parsing. Return
258minor mode is enabled." 258non-nil if the minor mode is enabled."
259;; 259;;
260;;\\{semantic-decoration-map}" 260;;\\{semantic-decoration-map}"
261 nil nil nil 261 nil nil nil
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el
index 56398d06270..07b7af89423 100644
--- a/lisp/cedet/semantic/idle.el
+++ b/lisp/cedet/semantic/idle.el
@@ -172,11 +172,9 @@ some command requests the list of available tokens. When idle-scheduler
172is enabled, Emacs periodically checks to see if the buffer is out of 172is enabled, Emacs periodically checks to see if the buffer is out of
173date, and reparses while the user is idle (not typing.) 173date, and reparses while the user is idle (not typing.)
174 174
175With prefix argument ARG, turn on if positive, otherwise off. The 175The minor mode can be turned on only if semantic feature is
176minor mode can be turned on only if semantic feature is available and 176available and the current buffer was set up for parsing. Return
177the current buffer was set up for parsing. Return non-nil if the 177non-nil if the minor mode is enabled." nil nil nil
178minor mode is enabled."
179 nil nil nil
180 (if semantic-idle-scheduler-mode 178 (if semantic-idle-scheduler-mode
181 (if (not (and (featurep 'semantic) (semantic-active-p))) 179 (if (not (and (featurep 'semantic) (semantic-active-p)))
182 (progn 180 (progn
@@ -776,8 +774,6 @@ current tag to display information."
776 774
777(define-minor-mode semantic-idle-summary-mode 775(define-minor-mode semantic-idle-summary-mode
778 "Toggle Semantic Idle Summary mode. 776 "Toggle Semantic Idle Summary mode.
779With ARG, turn Semantic Idle Summary mode on if ARG is positive,
780off otherwise.
781 777
782When this minor mode is enabled, the echo area displays a summary 778When this minor mode is enabled, the echo area displays a summary
783of the lexical token at point whenever Emacs is idle." 779of the lexical token at point whenever Emacs is idle."
@@ -812,8 +808,6 @@ of the lexical token at point whenever Emacs is idle."
812 808
813(define-minor-mode global-semantic-idle-summary-mode 809(define-minor-mode global-semantic-idle-summary-mode
814 "Toggle Global Semantic Idle Summary mode. 810 "Toggle Global Semantic Idle Summary mode.
815With ARG, turn Global Semantic Idle Summary mode on if ARG is
816positive, off otherwise.
817 811
818When this minor mode is enabled, `semantic-idle-summary-mode' is 812When this minor mode is enabled, `semantic-idle-summary-mode' is
819turned on in every Semantic-supported buffer." 813turned on in every Semantic-supported buffer."
@@ -931,9 +925,10 @@ Call `semantic-symref-hits-in-region' to identify local references."
931;;;###autoload 925;;;###autoload
932(define-minor-mode global-semantic-idle-scheduler-mode 926(define-minor-mode global-semantic-idle-scheduler-mode
933 "Toggle global use of option `semantic-idle-scheduler-mode'. 927 "Toggle global use of option `semantic-idle-scheduler-mode'.
934The idle scheduler will automatically reparse buffers in idle time, 928
935and then schedule other jobs setup with `semantic-idle-scheduler-add'. 929The idle scheduler will automatically reparse buffers in idle
936If ARG is positive or nil, enable, if it is negative, disable." 930time, and then schedule other jobs setup with
931`semantic-idle-scheduler-add'."
937 :global t 932 :global t
938 :group 'semantic 933 :group 'semantic
939 :group 'semantic-modes 934 :group 'semantic-modes
diff --git a/lisp/cedet/semantic/mru-bookmark.el b/lisp/cedet/semantic/mru-bookmark.el
index ad630148909..5789881d382 100644
--- a/lisp/cedet/semantic/mru-bookmark.el
+++ b/lisp/cedet/semantic/mru-bookmark.el
@@ -252,8 +252,7 @@ been edited, and you can re-visit them with \\[semantic-mrub-switch-tags]."
252 252
253;;;###autoload 253;;;###autoload
254(define-minor-mode global-semantic-mru-bookmark-mode 254(define-minor-mode global-semantic-mru-bookmark-mode
255 "Toggle global use of option `semantic-mru-bookmark-mode'. 255 "Toggle global use of option `semantic-mru-bookmark-mode'."
256If ARG is positive or nil, enable, if it is negative, disable."
257 :global t :group 'semantic :group 'semantic-modes 256 :global t :group 'semantic :group 'semantic-modes
258 ;; Not needed because it's autoloaded instead. 257 ;; Not needed because it's autoloaded instead.
259 ;; :require 'semantic-util-modes 258 ;; :require 'semantic-util-modes
@@ -278,10 +277,9 @@ been edited, and you can re-visit them with \\[semantic-mrub-switch-tags].
278 277
279\\{semantic-mru-bookmark-mode-map} 278\\{semantic-mru-bookmark-mode-map}
280 279
281With prefix argument ARG, turn on if positive, otherwise off. The 280The minor mode can be turned on only if semantic feature is
282minor mode can be turned on only if semantic feature is available and 281available and the current buffer was set up for parsing. Return
283the current buffer was set up for parsing. Return non-nil if the 282non-nil if the minor mode is enabled."
284minor mode is enabled."
285 :keymap semantic-mru-bookmark-mode-map 283 :keymap semantic-mru-bookmark-mode-map
286 (if semantic-mru-bookmark-mode 284 (if semantic-mru-bookmark-mode
287 (if (not (and (featurep 'semantic) (semantic-active-p))) 285 (if (not (and (featurep 'semantic) (semantic-active-p)))
diff --git a/lisp/cedet/semantic/util-modes.el b/lisp/cedet/semantic/util-modes.el
index 54c9578773a..180aca5b60d 100644
--- a/lisp/cedet/semantic/util-modes.el
+++ b/lisp/cedet/semantic/util-modes.el
@@ -170,8 +170,7 @@ too an interactive function used to toggle the mode."
170 170
171;;;###autoload 171;;;###autoload
172(define-minor-mode global-semantic-highlight-edits-mode 172(define-minor-mode global-semantic-highlight-edits-mode
173 "Toggle global use of option `semantic-highlight-edits-mode'. 173 "Toggle global use of option `semantic-highlight-edits-mode'."
174If ARG is positive or nil, enable, if it is negative, disable."
175 :global t :group 'semantic :group 'semantic-modes 174 :global t :group 'semantic :group 'semantic-modes
176 (semantic-toggle-minor-mode-globally 175 (semantic-toggle-minor-mode-globally
177 'semantic-highlight-edits-mode 176 'semantic-highlight-edits-mode
@@ -209,10 +208,10 @@ Changes are tracked by semantic so that the incremental parser can work
209properly. 208properly.
210This mode will highlight those changes as they are made, and clear them 209This mode will highlight those changes as they are made, and clear them
211when the incremental parser accounts for those edits. 210when the incremental parser accounts for those edits.
212With prefix argument ARG, turn on if positive, otherwise off. The 211
213minor mode can be turned on only if semantic feature is available and 212The minor mode can be turned on only if semantic feature is
214the current buffer was set up for parsing. Return non-nil if the 213available and the current buffer was set up for parsing. Return
215minor mode is enabled." 214non-nil if the minor mode is enabled."
216 :keymap semantic-highlight-edits-mode-map 215 :keymap semantic-highlight-edits-mode-map
217 (if semantic-highlight-edits-mode 216 (if semantic-highlight-edits-mode
218 (if (not (and (featurep 'semantic) (semantic-active-p))) 217 (if (not (and (featurep 'semantic) (semantic-active-p)))
@@ -237,8 +236,7 @@ minor mode is enabled."
237 236
238;;;###autoload 237;;;###autoload
239(define-minor-mode global-semantic-show-unmatched-syntax-mode 238(define-minor-mode global-semantic-show-unmatched-syntax-mode
240 "Toggle global use of option `semantic-show-unmatched-syntax-mode'. 239 "Toggle global use of option `semantic-show-unmatched-syntax-mode'."
241If ARG is positive or nil, enable, if it is negative, disable."
242 :global t :group 'semantic :group 'semantic-modes 240 :global t :group 'semantic :group 'semantic-modes
243 ;; Not needed because it's autoloaded instead. 241 ;; Not needed because it's autoloaded instead.
244 ;; :require 'semantic/util-modes 242 ;; :require 'semantic/util-modes
@@ -360,10 +358,9 @@ parser rules. These text characters are considered unmatched syntax.
360Often time, the display of unmatched syntax can expose coding 358Often time, the display of unmatched syntax can expose coding
361problems before the compiler is run. 359problems before the compiler is run.
362 360
363With prefix argument ARG, turn on if positive, otherwise off. The 361The minor mode can be turned on only if semantic feature is
364minor mode can be turned on only if semantic feature is available and 362available and the current buffer was set up for parsing. Return
365the current buffer was set up for parsing. Return non-nil if the 363non-nil if the minor mode is enabled.
366minor mode is enabled.
367 364
368\\{semantic-show-unmatched-syntax-mode-map}" 365\\{semantic-show-unmatched-syntax-mode-map}"
369 :keymap semantic-show-unmatched-syntax-mode-map 366 :keymap semantic-show-unmatched-syntax-mode-map
@@ -410,8 +407,7 @@ minor mode is enabled.
410 407
411;;;###autoload 408;;;###autoload
412(define-minor-mode global-semantic-show-parser-state-mode 409(define-minor-mode global-semantic-show-parser-state-mode
413 "Toggle global use of option `semantic-show-parser-state-mode'. 410 "Toggle global use of option `semantic-show-parser-state-mode'."
414If ARG is positive or nil, enable, if it is negative, disable."
415 :global t :group 'semantic 411 :global t :group 'semantic
416 ;; Not needed because it's autoloaded instead. 412 ;; Not needed because it's autoloaded instead.
417 ;; :require 'semantic/util-modes 413 ;; :require 'semantic/util-modes
@@ -440,10 +436,10 @@ The state is indicated in the modeline with the following characters:
440 `~' -> The cache needs to be incrementally parsed. 436 `~' -> The cache needs to be incrementally parsed.
441 `%' -> The cache is not currently parsable. 437 `%' -> The cache is not currently parsable.
442 `@' -> Auto-parse in progress (not set here.) 438 `@' -> Auto-parse in progress (not set here.)
443With prefix argument ARG, turn on if positive, otherwise off. The 439
444minor mode can be turned on only if semantic feature is available and 440The minor mode can be turned on only if semantic feature is
445the current buffer was set up for parsing. Return non-nil if the 441available and the current buffer was set up for parsing. Return
446minor mode is enabled." 442non-nil if the minor mode is enabled."
447 :keymap semantic-show-parser-state-mode-map 443 :keymap semantic-show-parser-state-mode-map
448 (if semantic-show-parser-state-mode 444 (if semantic-show-parser-state-mode
449 (if (not (and (featurep 'semantic) (semantic-active-p))) 445 (if (not (and (featurep 'semantic) (semantic-active-p)))
@@ -557,8 +553,7 @@ to indicate a parse in progress."
557 553
558;;;###autoload 554;;;###autoload
559(define-minor-mode global-semantic-stickyfunc-mode 555(define-minor-mode global-semantic-stickyfunc-mode
560 "Toggle global use of option `semantic-stickyfunc-mode'. 556 "Toggle global use of option `semantic-stickyfunc-mode'."
561If ARG is positive or nil, enable, if it is negative, disable."
562 :global t :group 'semantic :group 'semantic-modes 557 :global t :group 'semantic :group 'semantic-modes
563 ;; Not needed because it's autoloaded instead. 558 ;; Not needed because it's autoloaded instead.
564 ;; :require 'semantic/util-modes 559 ;; :require 'semantic/util-modes
@@ -700,10 +695,9 @@ A function (or other tag class specified by
700first line which describes the rest of the construct. This first 695first line which describes the rest of the construct. This first
701line is what is displayed in the header line. 696line is what is displayed in the header line.
702 697
703With prefix argument ARG, turn on if positive, otherwise off. The 698The minor mode can be turned on only if semantic feature is
704minor mode can be turned on only if semantic feature is available and 699available and the current buffer was set up for parsing. Return
705the current buffer was set up for parsing. Return non-nil if the 700non-nil if the minor mode is enabled."
706minor mode is enabled."
707 ;; Don't need indicator. It's quite visible 701 ;; Don't need indicator. It's quite visible
708 :keymap semantic-stickyfunc-mode-map 702 :keymap semantic-stickyfunc-mode-map
709 (if semantic-stickyfunc-mode 703 (if semantic-stickyfunc-mode
@@ -837,8 +831,7 @@ Argument EVENT describes the event that caused this function to be called."
837 831
838;;;###autoload 832;;;###autoload
839(define-minor-mode global-semantic-highlight-func-mode 833(define-minor-mode global-semantic-highlight-func-mode
840 "Toggle global use of option `semantic-highlight-func-mode'. 834 "Toggle global use of option `semantic-highlight-func-mode'."
841If ARG is positive or nil, enable, if it is negative, disable."
842 :global t :group 'semantic :group 'semantic-modes 835 :global t :group 'semantic :group 'semantic-modes
843 ;; Not needed because it's autoloaded instead. 836 ;; Not needed because it's autoloaded instead.
844 ;; :require 'semantic/util-modes 837 ;; :require 'semantic/util-modes
@@ -933,10 +926,9 @@ See `semantic-stickyfunc-mode' for putting a function in the
933header line. This mode recycles the stickyfunc configuration 926header line. This mode recycles the stickyfunc configuration
934classes list. 927classes list.
935 928
936With prefix argument ARG, turn on if positive, otherwise off. The 929The minor mode can be turned on only if semantic feature is
937minor mode can be turned on only if semantic feature is available and 930available and the current buffer was set up for parsing. Return
938the current buffer was set up for parsing. Return non-nil if the 931non-nil if the minor mode is enabled."
939minor mode is enabled."
940 :lighter nil ;; Don't need indicator. It's quite visible. 932 :lighter nil ;; Don't need indicator. It's quite visible.
941 (if semantic-highlight-func-mode 933 (if semantic-highlight-func-mode
942 (progn 934 (progn
diff --git a/lisp/cedet/srecode/mode.el b/lisp/cedet/srecode/mode.el
index 76e7e08761d..28e8b3b64ea 100644
--- a/lisp/cedet/srecode/mode.el
+++ b/lisp/cedet/srecode/mode.el
@@ -148,10 +148,10 @@
148;;;###autoload 148;;;###autoload
149(define-minor-mode srecode-minor-mode 149(define-minor-mode srecode-minor-mode
150 "Toggle srecode minor mode. 150 "Toggle srecode minor mode.
151With prefix argument ARG, turn on if positive, otherwise off. The 151
152minor mode can be turned on only if semantic feature is available and 152The minor mode can be turned on only if semantic feature is
153the current buffer was set up for parsing. Return non-nil if the 153available and the current buffer was set up for parsing. Return
154minor mode is enabled. 154non-nil if the minor mode is enabled.
155 155
156\\{srecode-mode-map}" 156\\{srecode-mode-map}"
157 :keymap srecode-mode-map 157 :keymap srecode-mode-map
@@ -176,8 +176,7 @@ minor mode is enabled.
176 176
177;;;###autoload 177;;;###autoload
178(define-minor-mode global-srecode-minor-mode 178(define-minor-mode global-srecode-minor-mode
179 "Toggle global use of srecode minor mode. 179 "Toggle global use of srecode minor mode."
180If ARG is positive or nil, enable, if it is negative, disable."
181 :global t :group 'srecode 180 :global t :group 'srecode
182 ;; Not needed because it's autoloaded instead. 181 ;; Not needed because it's autoloaded instead.
183 ;; :require 'srecode/mode 182 ;; :require 'srecode/mode
diff --git a/lisp/completion.el b/lisp/completion.el
index 2ddf0999e43..66b413f6af5 100644
--- a/lisp/completion.el
+++ b/lisp/completion.el
@@ -2275,10 +2275,7 @@ TYPE is the type of the wrapper to be added. Can be :before or :under."
2275 2275
2276;;;###autoload 2276;;;###autoload
2277(define-minor-mode dynamic-completion-mode 2277(define-minor-mode dynamic-completion-mode
2278 "Toggle dynamic word-completion on or off. 2278 "Toggle dynamic word-completion on or off."
2279With a prefix argument ARG, enable the mode if ARG is positive,
2280and disable it otherwise. If called from Lisp, enable the mode
2281if ARG is omitted or nil."
2282 :global t 2279 :global t
2283 :group 'completion 2280 :group 'completion
2284 ;; This is always good, not specific to dynamic-completion-mode. 2281 ;; This is always good, not specific to dynamic-completion-mode.
diff --git a/lisp/composite.el b/lisp/composite.el
index 76949fb5827..7daea54c9e9 100644
--- a/lisp/composite.el
+++ b/lisp/composite.el
@@ -829,9 +829,6 @@ This function is the default value of `auto-composition-function' (which see)."
829;;;###autoload 829;;;###autoload
830(define-minor-mode auto-composition-mode 830(define-minor-mode auto-composition-mode
831 "Toggle Auto Composition mode. 831 "Toggle Auto Composition mode.
832With a prefix argument ARG, enable Auto Composition mode if ARG
833is positive, and disable it otherwise. If called from Lisp,
834enable the mode if ARG is omitted or nil.
835 832
836When Auto Composition mode is enabled, text characters are 833When Auto Composition mode is enabled, text characters are
837automatically composed by functions registered in 834automatically composed by functions registered in
@@ -847,9 +844,6 @@ Auto Composition mode in all buffers (this is the default)."
847;;;###autoload 844;;;###autoload
848(define-minor-mode global-auto-composition-mode 845(define-minor-mode global-auto-composition-mode
849 "Toggle Auto Composition mode in all buffers. 846 "Toggle Auto Composition mode in all buffers.
850With a prefix argument ARG, enable it if ARG is positive, and
851disable it otherwise. If called from Lisp, enable it if ARG is
852omitted or nil.
853 847
854For more information on Auto Composition mode, see 848For more information on Auto Composition mode, see
855`auto-composition-mode' ." 849`auto-composition-mode' ."
diff --git a/lisp/delsel.el b/lisp/delsel.el
index bfccdc6a4c7..a3c29349471 100644
--- a/lisp/delsel.el
+++ b/lisp/delsel.el
@@ -70,12 +70,6 @@ Value must be the register (key) to use.")
70;;;###autoload 70;;;###autoload
71(define-minor-mode delete-selection-mode 71(define-minor-mode delete-selection-mode
72 "Toggle Delete Selection mode. 72 "Toggle Delete Selection mode.
73Interactively, with a prefix argument, enable
74Delete Selection mode if the prefix argument is positive,
75and disable it otherwise. If called from Lisp, toggle
76the mode if ARG is `toggle', disable the mode if ARG is
77a non-positive integer, and enable the mode otherwise
78\(including if ARG is omitted or nil or a positive integer).
79 73
80When Delete Selection mode is enabled, typed text replaces the selection 74When Delete Selection mode is enabled, typed text replaces the selection
81if the selection is active. Otherwise, typed text is just inserted at 75if the selection is active. Otherwise, typed text is just inserted at
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 3e1ba200b50..a9fa2873b3b 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -161,9 +161,6 @@ Used at desktop read to provide backward compatibility.")
161;;;###autoload 161;;;###autoload
162(define-minor-mode desktop-save-mode 162(define-minor-mode desktop-save-mode
163 "Toggle desktop saving (Desktop Save mode). 163 "Toggle desktop saving (Desktop Save mode).
164With a prefix argument ARG, enable Desktop Save mode if ARG is positive,
165and disable it otherwise. If called from Lisp, enable the mode if ARG
166is omitted or nil.
167 164
168When Desktop Save mode is enabled, the state of Emacs is saved from 165When Desktop Save mode is enabled, the state of Emacs is saved from
169one session to another. In particular, Emacs will save the desktop when 166one session to another. In particular, Emacs will save the desktop when
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 4517dedeeb4..f07a5deb4f1 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -139,9 +139,6 @@ folding to be used on case-insensitive filesystems only."
139 139
140(define-minor-mode dired-omit-mode 140(define-minor-mode dired-omit-mode
141 "Toggle omission of uninteresting files in Dired (Dired-Omit mode). 141 "Toggle omission of uninteresting files in Dired (Dired-Omit mode).
142With a prefix argument ARG, enable Dired-Omit mode if ARG is
143positive, and disable it otherwise. If called from Lisp, enable
144the mode if ARG is omitted or nil.
145 142
146Dired-Omit mode is a buffer-local minor mode. When enabled in a 143Dired-Omit mode is a buffer-local minor mode. When enabled in a
147Dired buffer, Dired does not list files whose filenames match 144Dired buffer, Dired does not list files whose filenames match
diff --git a/lisp/dirtrack.el b/lisp/dirtrack.el
index e5e1497c4d0..862268d49b8 100644
--- a/lisp/dirtrack.el
+++ b/lisp/dirtrack.el
@@ -184,9 +184,6 @@ and ends with a forward slash."
184;;;###autoload 184;;;###autoload
185(define-minor-mode dirtrack-mode 185(define-minor-mode dirtrack-mode
186 "Toggle directory tracking in shell buffers (Dirtrack mode). 186 "Toggle directory tracking in shell buffers (Dirtrack mode).
187With a prefix argument ARG, enable Dirtrack mode if ARG is
188positive, and disable it otherwise. If called from Lisp, enable
189the mode if ARG is omitted or nil.
190 187
191This method requires that your shell prompt contain the current 188This method requires that your shell prompt contain the current
192working directory at all times, and that you set the variable 189working directory at all times, and that you set the variable
@@ -205,10 +202,7 @@ directory."
205 "23.1") 202 "23.1")
206(define-obsolete-variable-alias 'dirtrack-debug 'dirtrack-debug-mode "23.1") 203(define-obsolete-variable-alias 'dirtrack-debug 'dirtrack-debug-mode "23.1")
207(define-minor-mode dirtrack-debug-mode 204(define-minor-mode dirtrack-debug-mode
208 "Toggle Dirtrack debugging. 205 "Toggle Dirtrack debugging."
209With a prefix argument ARG, enable Dirtrack debugging if ARG is
210positive, and disable it otherwise. If called from Lisp, enable
211the mode if ARG is omitted or nil."
212 nil nil nil 206 nil nil nil
213 (if dirtrack-debug-mode 207 (if dirtrack-debug-mode
214 (display-buffer (get-buffer-create dirtrack-debug-buffer)))) 208 (display-buffer (get-buffer-create dirtrack-debug-buffer))))
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 792447b4d88..2b2c6874dbc 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -1859,9 +1859,6 @@ to the next best mode."
1859;;;###autoload 1859;;;###autoload
1860(define-minor-mode doc-view-minor-mode 1860(define-minor-mode doc-view-minor-mode
1861 "Toggle displaying buffer via Doc View (Doc View minor mode). 1861 "Toggle displaying buffer via Doc View (Doc View minor mode).
1862With a prefix argument ARG, enable Doc View minor mode if ARG is
1863positive, and disable it otherwise. If called from Lisp, enable
1864the mode if ARG is omitted or nil.
1865 1862
1866See the command `doc-view-mode' for more information on this mode." 1863See the command `doc-view-mode' for more information on this mode."
1867 nil " DocView" doc-view-minor-mode-map 1864 nil " DocView" doc-view-minor-mode-map
diff --git a/lisp/double.el b/lisp/double.el
index 4334a4ca70d..b21fe5bc20f 100644
--- a/lisp/double.el
+++ b/lisp/double.el
@@ -150,9 +150,6 @@ but not `C-u X' or `ESC X' since the X is not the prefix key."
150;;;###autoload 150;;;###autoload
151(define-minor-mode double-mode 151(define-minor-mode double-mode
152 "Toggle special insertion on double keypresses (Double mode). 152 "Toggle special insertion on double keypresses (Double mode).
153With a prefix argument ARG, enable Double mode if ARG is
154positive, and disable it otherwise. If called from Lisp, enable
155the mode if ARG is omitted or nil.
156 153
157When Double mode is enabled, some keys will insert different 154When Double mode is enabled, some keys will insert different
158strings when pressed twice. See `double-map' for details." 155strings when pressed twice. See `double-map' for details."
diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el
index 85c25f04692..7df70982957 100644
--- a/lisp/elec-pair.el
+++ b/lisp/elec-pair.el
@@ -581,9 +581,6 @@ ARG and KILLP are passed directly to
581;;;###autoload 581;;;###autoload
582(define-minor-mode electric-pair-mode 582(define-minor-mode electric-pair-mode
583 "Toggle automatic parens pairing (Electric Pair mode). 583 "Toggle automatic parens pairing (Electric Pair mode).
584With a prefix argument ARG, enable Electric Pair mode if ARG is
585positive, and disable it otherwise. If called from Lisp, enable
586the mode if ARG is omitted or nil.
587 584
588Electric Pair mode is a global minor mode. When enabled, typing 585Electric Pair mode is a global minor mode. When enabled, typing
589an open parenthesis automatically inserts the corresponding 586an open parenthesis automatically inserts the corresponding
diff --git a/lisp/electric.el b/lisp/electric.el
index a45faf2dbb5..8730b0752c8 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -325,9 +325,6 @@ column specified by the function `current-left-margin'."
325;;;###autoload 325;;;###autoload
326(define-minor-mode electric-indent-mode 326(define-minor-mode electric-indent-mode
327 "Toggle on-the-fly reindentation (Electric Indent mode). 327 "Toggle on-the-fly reindentation (Electric Indent mode).
328With a prefix argument ARG, enable Electric Indent mode if ARG is
329positive, and disable it otherwise. If called from Lisp, enable
330the mode if ARG is omitted or nil.
331 328
332When enabled, this reindents whenever the hook `electric-indent-functions' 329When enabled, this reindents whenever the hook `electric-indent-functions'
333returns non-nil, or if you insert a character from `electric-indent-chars'. 330returns non-nil, or if you insert a character from `electric-indent-chars'.
@@ -411,9 +408,7 @@ newline after CHAR but stay in the same place.")
411;;;###autoload 408;;;###autoload
412(define-minor-mode electric-layout-mode 409(define-minor-mode electric-layout-mode
413 "Automatically insert newlines around some chars. 410 "Automatically insert newlines around some chars.
414With a prefix argument ARG, enable Electric Layout mode if ARG is 411
415positive, and disable it otherwise. If called from Lisp, enable
416the mode if ARG is omitted or nil.
417The variable `electric-layout-rules' says when and how to insert newlines." 412The variable `electric-layout-rules' says when and how to insert newlines."
418 :global t :group 'electricity 413 :global t :group 'electricity
419 (cond (electric-layout-mode 414 (cond (electric-layout-mode
@@ -551,9 +546,6 @@ This requotes when a quoting key is typed."
551;;;###autoload 546;;;###autoload
552(define-minor-mode electric-quote-mode 547(define-minor-mode electric-quote-mode
553 "Toggle on-the-fly requoting (Electric Quote mode). 548 "Toggle on-the-fly requoting (Electric Quote mode).
554With a prefix argument ARG, enable Electric Quote mode if
555ARG is positive, and disable it otherwise. If called from Lisp,
556enable the mode if ARG is omitted or nil.
557 549
558When enabled, as you type this replaces \\=` with ‘, \\=' with ’, 550When enabled, as you type this replaces \\=` with ‘, \\=' with ’,
559\\=`\\=` with “, and \\='\\=' with ”. This occurs only in comments, strings, 551\\=`\\=` with “, and \\='\\=' with ”. This occurs only in comments, strings,
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index 300a3908c14..1b3b23d8871 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -1237,9 +1237,6 @@ TEXT, START, END and UNFIXABLE conform to
1237;;;###autoload 1237;;;###autoload
1238(define-minor-mode checkdoc-minor-mode 1238(define-minor-mode checkdoc-minor-mode
1239 "Toggle automatic docstring checking (Checkdoc minor mode). 1239 "Toggle automatic docstring checking (Checkdoc minor mode).
1240With a prefix argument ARG, enable Checkdoc minor mode if ARG is
1241positive, and disable it otherwise. If called from Lisp, enable
1242the mode if ARG is omitted or nil.
1243 1240
1244In Checkdoc minor mode, the usual bindings for `eval-defun' which is 1241In Checkdoc minor mode, the usual bindings for `eval-defun' which is
1245bound to \\<checkdoc-minor-mode-map>\\[checkdoc-eval-defun] and `checkdoc-eval-current-buffer' are overridden to include 1242bound to \\<checkdoc-minor-mode-map>\\[checkdoc-eval-defun] and `checkdoc-eval-current-buffer' are overridden to include
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index a81b6fefb20..b83b53a8e52 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -81,6 +81,26 @@ replacing its case-insensitive matches with the literal string in LIGHTER."
81 ;; space.) 81 ;; space.)
82 (replace-regexp-in-string (regexp-quote lighter) lighter name t t)))) 82 (replace-regexp-in-string (regexp-quote lighter) lighter name t t))))
83 83
84(defconst easy-mmode--arg-docstring
85 "
86
87If called interactively, enable %s if ARG is positive, and
88disable it if ARG is zero or negative. If called from Lisp,
89also enable the mode if ARG is omitted or nil, and toggle it
90if ARG is `toggle'; disable the mode otherwise.")
91
92(defun easy-mmode--mode-docstring (doc mode-pretty-name keymap-sym)
93 (let ((doc (or doc (format "Toggle %s on or off.
94
95\\{%s}" mode-pretty-name keymap-sym))))
96 (if (string-match-p "\\bARG\\b" doc)
97 doc
98 (let ((argdoc (format easy-mmode--arg-docstring
99 mode-pretty-name)))
100 (replace-regexp-in-string "\\(\n\n\\|\\'\\)\\(.\\|\n\\)*\\'"
101 (concat argdoc "\\1")
102 doc nil nil 1)))))
103
84;;;###autoload 104;;;###autoload
85(defalias 'easy-mmode-define-minor-mode 'define-minor-mode) 105(defalias 'easy-mmode-define-minor-mode 'define-minor-mode)
86;;;###autoload 106;;;###autoload
@@ -101,7 +121,9 @@ non-positive integer, and enables the mode otherwise (including
101if the argument is omitted or nil or a positive integer). 121if the argument is omitted or nil or a positive integer).
102 122
103If DOC is nil, give the mode command a basic doc-string 123If DOC is nil, give the mode command a basic doc-string
104documenting what its argument does. 124documenting what its argument does. If the word \"ARG\" does not
125appear in DOC, a paragraph is added to DOC explaining
126usage of the mode argument.
105 127
106Optional INIT-VALUE is the initial value of the mode's variable. 128Optional INIT-VALUE is the initial value of the mode's variable.
107Optional LIGHTER is displayed in the mode line when the mode is on. 129Optional LIGHTER is displayed in the mode line when the mode is on.
@@ -270,12 +292,7 @@ or call the function `%s'."))))
270 292
271 ;; The actual function. 293 ;; The actual function.
272 (defun ,modefun (&optional arg ,@extra-args) 294 (defun ,modefun (&optional arg ,@extra-args)
273 ,(or doc 295 ,(easy-mmode--mode-docstring doc pretty-name keymap-sym)
274 (format (concat "Toggle %s on or off.
275With a prefix argument ARG, enable %s if ARG is
276positive, and disable it otherwise. If called from Lisp, enable
277the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'.
278\\{%s}") pretty-name pretty-name keymap-sym))
279 ;; Use `toggle' rather than (if ,mode 0 1) so that using 296 ;; Use `toggle' rather than (if ,mode 0 1) so that using
280 ;; repeat-command still does the toggling correctly. 297 ;; repeat-command still does the toggling correctly.
281 (interactive (list (or current-prefix-arg 'toggle))) 298 (interactive (list (or current-prefix-arg 'toggle)))
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index a662265f4b8..49ba71fb1b8 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -177,9 +177,6 @@ printed after commands contained in this obarray."
177;;;###autoload 177;;;###autoload
178(define-minor-mode eldoc-mode 178(define-minor-mode eldoc-mode
179 "Toggle echo area display of Lisp objects at point (ElDoc mode). 179 "Toggle echo area display of Lisp objects at point (ElDoc mode).
180With a prefix argument ARG, enable ElDoc mode if ARG is positive,
181and disable it otherwise. If called from Lisp, enable ElDoc mode
182if ARG is omitted or nil.
183 180
184ElDoc mode is a buffer-local minor mode. When enabled, the echo 181ElDoc mode is a buffer-local minor mode. When enabled, the echo
185area displays information about a function or variable in the 182area displays information about a function or variable in the
diff --git a/lisp/emacs-lock.el b/lisp/emacs-lock.el
index b6e28fb2530..0733c3326c9 100644
--- a/lisp/emacs-lock.el
+++ b/lisp/emacs-lock.el
@@ -189,9 +189,7 @@ Return a value appropriate for `kill-buffer-query-functions' (which see)."
189(define-minor-mode emacs-lock-mode 189(define-minor-mode emacs-lock-mode
190 "Toggle Emacs Lock mode in the current buffer. 190 "Toggle Emacs Lock mode in the current buffer.
191If called with a plain prefix argument, ask for the locking mode 191If called with a plain prefix argument, ask for the locking mode
192to be used. With any other prefix ARG, turn mode on if ARG is 192to be used.
193positive, off otherwise. If called from Lisp, enable the mode if
194ARG is omitted or nil.
195 193
196Initially, if the user does not pass an explicit locking mode, it 194Initially, if the user does not pass an explicit locking mode, it
197defaults to `emacs-lock-default-locking-mode' (which see); 195defaults to `emacs-lock-default-locking-mode' (which see);
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el
index ff23484dd05..f1143425eb8 100644
--- a/lisp/emulation/cua-base.el
+++ b/lisp/emulation/cua-base.el
@@ -1318,9 +1318,6 @@ If ARG is the atom `-', scroll upward by nearly full screen."
1318;;;###autoload 1318;;;###autoload
1319(define-minor-mode cua-mode 1319(define-minor-mode cua-mode
1320 "Toggle Common User Access style editing (CUA mode). 1320 "Toggle Common User Access style editing (CUA mode).
1321With a prefix argument ARG, enable CUA mode if ARG is positive,
1322and disable it otherwise. If called from Lisp, enable the mode
1323if ARG is omitted or nil.
1324 1321
1325CUA mode is a global minor mode. When enabled, typed text 1322CUA mode is a global minor mode. When enabled, typed text
1326replaces the active selection, and you can use C-z, C-x, C-c, and 1323replaces the active selection, and you can use C-z, C-x, C-c, and
diff --git a/lisp/epa-hook.el b/lisp/epa-hook.el
index 135c956c3f4..19f131cc33b 100644
--- a/lisp/epa-hook.el
+++ b/lisp/epa-hook.el
@@ -83,10 +83,7 @@ May either be a string or a list of strings.")
83 (auto-save-mode 0))) 83 (auto-save-mode 0)))
84 84
85(define-minor-mode auto-encryption-mode 85(define-minor-mode auto-encryption-mode
86 "Toggle automatic file encryption/decryption (Auto Encryption mode). 86 "Toggle automatic file encryption/decryption (Auto Encryption mode)."
87With a prefix argument ARG, enable Auto Encryption mode if ARG is
88positive, and disable it otherwise. If called from Lisp, enable
89the mode if ARG is omitted or nil."
90 :global t :init-value t :group 'epa-file :version "23.1" 87 :global t :init-value t :group 'epa-file :version "23.1"
91 ;; We'd like to use custom-initialize-set here so the setup is done 88 ;; We'd like to use custom-initialize-set here so the setup is done
92 ;; before dumping, but at the point where the defcustom is evaluated, 89 ;; before dumping, but at the point where the defcustom is evaluated,
diff --git a/lisp/epa-mail.el b/lisp/epa-mail.el
index 7f4c28e9670..008593712bd 100644
--- a/lisp/epa-mail.el
+++ b/lisp/epa-mail.el
@@ -47,10 +47,7 @@
47 47
48;;;###autoload 48;;;###autoload
49(define-minor-mode epa-mail-mode 49(define-minor-mode epa-mail-mode
50 "A minor-mode for composing encrypted/clearsigned mails. 50 "A minor-mode for composing encrypted/clearsigned mails."
51With a prefix argument ARG, enable the mode if ARG is positive,
52and disable it otherwise. If called from Lisp, enable the mode
53if ARG is omitted or nil."
54 nil " epa-mail" epa-mail-mode-map) 51 nil " epa-mail" epa-mail-mode-map)
55 52
56(defun epa-mail--find-usable-key (keys usage) 53(defun epa-mail--find-usable-key (keys usage)
@@ -238,10 +235,7 @@ The buffer is expected to contain a mail message."
238 235
239;;;###autoload 236;;;###autoload
240(define-minor-mode epa-global-mail-mode 237(define-minor-mode epa-global-mail-mode
241 "Minor mode to hook EasyPG into Mail mode. 238 "Minor mode to hook EasyPG into Mail mode."
242With a prefix argument ARG, enable the mode if ARG is positive,
243and disable it otherwise. If called from Lisp, enable the mode
244if ARG is omitted or nil."
245 :global t :init-value nil :group 'epa-mail :version "23.1" 239 :global t :init-value nil :group 'epa-mail :version "23.1"
246 (remove-hook 'mail-mode-hook 'epa-mail-mode) 240 (remove-hook 'mail-mode-hook 'epa-mail-mode)
247 (if epa-global-mail-mode 241 (if epa-global-mail-mode
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el
index 7817a0799ef..cae18f60937 100644
--- a/lisp/erc/erc-track.el
+++ b/lisp/erc/erc-track.el
@@ -495,9 +495,6 @@ START is the minimum length of the name used."
495;;;###autoload 495;;;###autoload
496(define-minor-mode erc-track-minor-mode 496(define-minor-mode erc-track-minor-mode
497 "Toggle mode line display of ERC activity (ERC Track minor mode). 497 "Toggle mode line display of ERC activity (ERC Track minor mode).
498With a prefix argument ARG, enable ERC Track minor mode if ARG is
499positive, and disable it otherwise. If called from Lisp, enable
500the mode if ARG is omitted or nil.
501 498
502ERC Track minor mode is a global minor mode. It exists for the 499ERC Track minor mode is a global minor mode. It exists for the
503sole purpose of providing the C-c C-SPC and C-c C-@ keybindings. 500sole purpose of providing the C-c C-SPC and C-c C-@ keybindings.
diff --git a/lisp/face-remap.el b/lisp/face-remap.el
index 476736773bf..c6a976deb00 100644
--- a/lisp/face-remap.el
+++ b/lisp/face-remap.el
@@ -229,9 +229,6 @@ Each positive or negative step scales the default face height by this amount."
229 229
230(define-minor-mode text-scale-mode 230(define-minor-mode text-scale-mode
231 "Minor mode for displaying buffer text in a larger/smaller font. 231 "Minor mode for displaying buffer text in a larger/smaller font.
232With a prefix argument ARG, enable the mode if ARG is positive,
233and disable it otherwise. If called from Lisp, enable the mode
234if ARG is omitted or nil.
235 232
236The amount of scaling is determined by the variable 233The amount of scaling is determined by the variable
237`text-scale-mode-amount': one step scales the global default 234`text-scale-mode-amount': one step scales the global default
@@ -387,10 +384,9 @@ plist, etc."
387;;;###autoload 384;;;###autoload
388(define-minor-mode buffer-face-mode 385(define-minor-mode buffer-face-mode
389 "Minor mode for a buffer-specific default face. 386 "Minor mode for a buffer-specific default face.
390With a prefix argument ARG, enable the mode if ARG is positive, 387
391and disable it otherwise. If called from Lisp, enable the mode 388When enabled, the face specified by the variable
392if ARG is omitted or nil. When enabled, the face specified by the 389`buffer-face-mode-face' is used to display the buffer text."
393variable `buffer-face-mode-face' is used to display the buffer text."
394 :lighter " BufFace" 390 :lighter " BufFace"
395 (when buffer-face-mode-remapping 391 (when buffer-face-mode-remapping
396 (face-remap-remove-relative buffer-face-mode-remapping)) 392 (face-remap-remove-relative buffer-face-mode-remapping))
diff --git a/lisp/files.el b/lisp/files.el
index 398e6dc12b8..31e2f39a8d1 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -419,14 +419,10 @@ idle for `auto-save-visited-interval' seconds."
419 419
420(define-minor-mode auto-save-visited-mode 420(define-minor-mode auto-save-visited-mode
421 "Toggle automatic saving to file-visiting buffers on or off. 421 "Toggle automatic saving to file-visiting buffers on or off.
422With a prefix argument ARG, enable regular saving of all buffers 422
423visiting a file if ARG is positive, and disable it otherwise.
424Unlike `auto-save-mode', this mode will auto-save buffer contents 423Unlike `auto-save-mode', this mode will auto-save buffer contents
425to the visited files directly and will also run all save-related 424to the visited files directly and will also run all save-related
426hooks. See Info node `Saving' for details of the save process. 425hooks. See Info node `Saving' for details of the save process."
427
428If called from Lisp, enable the mode if ARG is omitted or nil,
429and toggle it if ARG is `toggle'."
430 :group 'auto-save 426 :group 'auto-save
431 :global t 427 :global t
432 (when auto-save--timer (cancel-timer auto-save--timer)) 428 (when auto-save--timer (cancel-timer auto-save--timer))
diff --git a/lisp/follow.el b/lisp/follow.el
index fd397c077bb..7aa7b514739 100644
--- a/lisp/follow.el
+++ b/lisp/follow.el
@@ -383,9 +383,6 @@ This is typically set by explicit scrolling commands.")
383;;;###autoload 383;;;###autoload
384(define-minor-mode follow-mode 384(define-minor-mode follow-mode
385 "Toggle Follow mode. 385 "Toggle Follow mode.
386With a prefix argument ARG, enable Follow mode if ARG is
387positive, and disable it otherwise. If called from Lisp, enable
388the mode if ARG is omitted or nil.
389 386
390Follow mode is a minor mode that combines windows into one tall 387Follow mode is a minor mode that combines windows into one tall
391virtual window. This is accomplished by two main techniques: 388virtual window. This is accomplished by two main techniques:
diff --git a/lisp/font-core.el b/lisp/font-core.el
index ace1476edac..c5b036e04fa 100644
--- a/lisp/font-core.el
+++ b/lisp/font-core.el
@@ -78,9 +78,6 @@ It will be passed one argument, which is the current value of
78 78
79(define-minor-mode font-lock-mode 79(define-minor-mode font-lock-mode
80 "Toggle syntax highlighting in this buffer (Font Lock mode). 80 "Toggle syntax highlighting in this buffer (Font Lock mode).
81With a prefix argument ARG, enable Font Lock mode if ARG is
82positive, and disable it otherwise. If called from Lisp, enable
83the mode if ARG is omitted or nil.
84 81
85When Font Lock mode is enabled, text is fontified as you type it: 82When Font Lock mode is enabled, text is fontified as you type it:
86 83
diff --git a/lisp/frame.el b/lisp/frame.el
index 70b4b242a02..56b8c5487c8 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1382,9 +1382,6 @@ To get the frame's current border color, use `frame-parameters'."
1382 1382
1383(define-minor-mode auto-raise-mode 1383(define-minor-mode auto-raise-mode
1384 "Toggle whether or not selected frames should auto-raise. 1384 "Toggle whether or not selected frames should auto-raise.
1385With a prefix argument ARG, enable Auto Raise mode if ARG is
1386positive, and disable it otherwise. If called from Lisp, enable
1387the mode if ARG is omitted or nil.
1388 1385
1389Auto Raise mode does nothing under most window managers, which 1386Auto Raise mode does nothing under most window managers, which
1390switch focus on mouse clicks. It only has an effect if your 1387switch focus on mouse clicks. It only has an effect if your
@@ -1402,9 +1399,6 @@ often have their own auto-raise feature."
1402 1399
1403(define-minor-mode auto-lower-mode 1400(define-minor-mode auto-lower-mode
1404 "Toggle whether or not the selected frame should auto-lower. 1401 "Toggle whether or not the selected frame should auto-lower.
1405With a prefix argument ARG, enable Auto Lower mode if ARG is
1406positive, and disable it otherwise. If called from Lisp, enable
1407the mode if ARG is omitted or nil.
1408 1402
1409Auto Lower mode does nothing under most window managers, which 1403Auto Lower mode does nothing under most window managers, which
1410switch focus on mouse clicks. It only has an effect if your 1404switch focus on mouse clicks. It only has an effect if your
@@ -2297,9 +2291,6 @@ all divider widths to zero."
2297 2291
2298(define-minor-mode window-divider-mode 2292(define-minor-mode window-divider-mode
2299 "Display dividers between windows (Window Divider mode). 2293 "Display dividers between windows (Window Divider mode).
2300With a prefix argument ARG, enable Window Divider mode if ARG is
2301positive, and disable it otherwise. If called from Lisp, enable
2302the mode if ARG is omitted or nil.
2303 2294
2304The option `window-divider-default-places' specifies on which 2295The option `window-divider-default-places' specifies on which
2305side of a window dividers are displayed. The options 2296side of a window dividers are displayed. The options
@@ -2450,9 +2441,6 @@ stopped by `blink-cursor-suspend'. Internally calls
2450 2441
2451(define-minor-mode blink-cursor-mode 2442(define-minor-mode blink-cursor-mode
2452 "Toggle cursor blinking (Blink Cursor mode). 2443 "Toggle cursor blinking (Blink Cursor mode).
2453With a prefix argument ARG, enable Blink Cursor mode if ARG is
2454positive, and disable it otherwise. If called from Lisp, enable
2455the mode if ARG is omitted or nil.
2456 2444
2457If the value of `blink-cursor-blinks' is positive (10 by default), 2445If the value of `blink-cursor-blinks' is positive (10 by default),
2458the cursor stops blinking after that number of blinks, if Emacs 2446the cursor stops blinking after that number of blinks, if Emacs
diff --git a/lisp/help.el b/lisp/help.el
index 985d9c567a7..28288e57f6e 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1107,9 +1107,6 @@ function is called, the window to be resized is selected."
1107 1107
1108(define-minor-mode temp-buffer-resize-mode 1108(define-minor-mode temp-buffer-resize-mode
1109 "Toggle auto-resizing temporary buffer windows (Temp Buffer Resize Mode). 1109 "Toggle auto-resizing temporary buffer windows (Temp Buffer Resize Mode).
1110With a prefix argument ARG, enable Temp Buffer Resize mode if ARG
1111is positive, and disable it otherwise. If called from Lisp,
1112enable the mode if ARG is omitted or nil.
1113 1110
1114When Temp Buffer Resize mode is enabled, the windows in which we 1111When Temp Buffer Resize mode is enabled, the windows in which we
1115show a temporary buffer are automatically resized in height to 1112show a temporary buffer are automatically resized in height to
diff --git a/lisp/hexl.el b/lisp/hexl.el
index ad860aee187..230b64d9f23 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -997,6 +997,7 @@ Embedded whitespace, dashes, and periods in the string are ignored."
997 997
998(define-minor-mode hexl-follow-ascii-mode 998(define-minor-mode hexl-follow-ascii-mode
999 "Minor mode to follow ASCII in current Hexl buffer. 999 "Minor mode to follow ASCII in current Hexl buffer.
1000
1000When following is enabled, the ASCII character corresponding to the 1001When following is enabled, the ASCII character corresponding to the
1001element under the point is highlighted. 1002element under the point is highlighted.
1002The default activation is controlled by `hexl-follow-ascii'." 1003The default activation is controlled by `hexl-follow-ascii'."
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index f3a329f4678..13ebffb1afc 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -289,9 +289,6 @@ a library is being loaded.")
289;;;###autoload 289;;;###autoload
290(define-minor-mode hi-lock-mode 290(define-minor-mode hi-lock-mode
291 "Toggle selective highlighting of patterns (Hi Lock mode). 291 "Toggle selective highlighting of patterns (Hi Lock mode).
292With a prefix argument ARG, enable Hi Lock mode if ARG is
293positive, and disable it otherwise. If called from Lisp, enable
294the mode if ARG is omitted or nil.
295 292
296Hi Lock mode is automatically enabled when you invoke any of the 293Hi Lock mode is automatically enabled when you invoke any of the
297highlighting commands listed below, such as \\[highlight-regexp]. 294highlighting commands listed below, such as \\[highlight-regexp].
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el
index 9d4d2d8b383..70bf6b44b9d 100644
--- a/lisp/hilit-chg.el
+++ b/lisp/hilit-chg.el
@@ -319,9 +319,6 @@ remove it from existing buffers."
319;;;###autoload 319;;;###autoload
320(define-minor-mode highlight-changes-mode 320(define-minor-mode highlight-changes-mode
321 "Toggle highlighting changes in this buffer (Highlight Changes mode). 321 "Toggle highlighting changes in this buffer (Highlight Changes mode).
322With a prefix argument ARG, enable Highlight Changes mode if ARG
323is positive, and disable it otherwise. If called from Lisp,
324enable the mode if ARG is omitted or nil.
325 322
326When Highlight Changes is enabled, changes are marked with a text 323When Highlight Changes is enabled, changes are marked with a text
327property. Normally they are displayed in a distinctive face, but 324property. Normally they are displayed in a distinctive face, but
@@ -360,9 +357,6 @@ buffer with the contents of a file
360;;;###autoload 357;;;###autoload
361(define-minor-mode highlight-changes-visible-mode 358(define-minor-mode highlight-changes-visible-mode
362 "Toggle visibility of highlighting due to Highlight Changes mode. 359 "Toggle visibility of highlighting due to Highlight Changes mode.
363With a prefix argument ARG, enable Highlight Changes Visible mode
364if ARG is positive, and disable it otherwise. If called from
365Lisp, enable the mode if ARG is omitted or nil.
366 360
367Highlight Changes Visible mode only has an effect when Highlight 361Highlight Changes Visible mode only has an effect when Highlight
368Changes mode is on. When enabled, the changed text is displayed 362Changes mode is on. When enabled, the changed text is displayed
diff --git a/lisp/hl-line.el b/lisp/hl-line.el
index fc75b478c86..f0ee22a1da1 100644
--- a/lisp/hl-line.el
+++ b/lisp/hl-line.el
@@ -132,9 +132,6 @@ This variable is expected to be made buffer-local by modes.")
132;;;###autoload 132;;;###autoload
133(define-minor-mode hl-line-mode 133(define-minor-mode hl-line-mode
134 "Toggle highlighting of the current line (Hl-Line mode). 134 "Toggle highlighting of the current line (Hl-Line mode).
135With a prefix argument ARG, enable Hl-Line mode if ARG is
136positive, and disable it otherwise. If called from Lisp, enable
137the mode if ARG is omitted or nil.
138 135
139Hl-Line mode is a buffer-local minor mode. If 136Hl-Line mode is a buffer-local minor mode. If
140`hl-line-sticky-flag' is non-nil, Hl-Line mode highlights the 137`hl-line-sticky-flag' is non-nil, Hl-Line mode highlights the
@@ -203,9 +200,6 @@ such overlays in all buffers except the current one."
203;;;###autoload 200;;;###autoload
204(define-minor-mode global-hl-line-mode 201(define-minor-mode global-hl-line-mode
205 "Toggle line highlighting in all buffers (Global Hl-Line mode). 202 "Toggle line highlighting in all buffers (Global Hl-Line mode).
206With a prefix argument ARG, enable Global Hl-Line mode if ARG is
207positive, and disable it otherwise. If called from Lisp, enable
208the mode if ARG is omitted or nil.
209 203
210If `global-hl-line-sticky-flag' is non-nil, Global Hl-Line mode 204If `global-hl-line-sticky-flag' is non-nil, Global Hl-Line mode
211highlights the line about the current buffer's point in all live 205highlights the line about the current buffer's point in all live
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el
index a1adb1df35a..d9949d28352 100644
--- a/lisp/ibuf-ext.el
+++ b/lisp/ibuf-ext.el
@@ -403,10 +403,7 @@ format. See `ibuffer-update-saved-filters-format' and
403 403
404;;;###autoload 404;;;###autoload
405(define-minor-mode ibuffer-auto-mode 405(define-minor-mode ibuffer-auto-mode
406 "Toggle use of Ibuffer's auto-update facility (Ibuffer Auto mode). 406 "Toggle use of Ibuffer's auto-update facility (Ibuffer Auto mode)."
407With a prefix argument ARG, enable Ibuffer Auto mode if ARG is
408positive, and disable it otherwise. If called from Lisp, enable
409the mode if ARG is omitted or nil."
410 nil nil nil 407 nil nil nil
411 (unless (derived-mode-p 'ibuffer-mode) 408 (unless (derived-mode-p 'ibuffer-mode)
412 (error "This buffer is not in Ibuffer mode")) 409 (error "This buffer is not in Ibuffer mode"))
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index b37db8869bd..ad5a9d017d6 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -194,9 +194,6 @@ Last entry becomes the first and can be selected with
194;;;###autoload 194;;;###autoload
195(define-minor-mode icomplete-mode 195(define-minor-mode icomplete-mode
196 "Toggle incremental minibuffer completion (Icomplete mode). 196 "Toggle incremental minibuffer completion (Icomplete mode).
197With a prefix argument ARG, enable Icomplete mode if ARG is
198positive, and disable it otherwise. If called from Lisp, enable
199the mode if ARG is omitted or nil.
200 197
201When this global minor mode is enabled, typing in the minibuffer 198When this global minor mode is enabled, typing in the minibuffer
202continuously displays a list of possible completions that match 199continuously displays a list of possible completions that match
diff --git a/lisp/ido.el b/lisp/ido.el
index 3b102e07c55..f9a9607a3a9 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -1582,10 +1582,7 @@ Removes badly formatted data and ignored directories."
1582 (add-hook 'choose-completion-string-functions 'ido-choose-completion-string)) 1582 (add-hook 'choose-completion-string-functions 'ido-choose-completion-string))
1583 1583
1584(define-minor-mode ido-everywhere 1584(define-minor-mode ido-everywhere
1585 "Toggle use of Ido for all buffer/file reading. 1585 "Toggle use of Ido for all buffer/file reading."
1586With a prefix argument ARG, enable this feature if ARG is
1587positive, and disable it otherwise. If called from Lisp,
1588enable the mode if ARG is omitted or nil."
1589 :global t 1586 :global t
1590 :group 'ido 1587 :group 'ido
1591 (remove-function read-file-name-function #'ido-read-file-name) 1588 (remove-function read-file-name-function #'ido-read-file-name)
diff --git a/lisp/image-file.el b/lisp/image-file.el
index 8a04afc25ff..19dc7878a50 100644
--- a/lisp/image-file.el
+++ b/lisp/image-file.el
@@ -179,9 +179,6 @@ Optional argument ARGS are the arguments to call FUNCTION with."
179;;;###autoload 179;;;###autoload
180(define-minor-mode auto-image-file-mode 180(define-minor-mode auto-image-file-mode
181 "Toggle visiting of image files as images (Auto Image File mode). 181 "Toggle visiting of image files as images (Auto Image File mode).
182With a prefix argument ARG, enable Auto Image File mode if ARG is
183positive, and disable it otherwise. If called from Lisp, enable
184the mode if ARG is omitted or nil.
185 182
186An image file is one whose name has an extension in 183An image file is one whose name has an extension in
187`image-file-name-extensions', or matches a regexp in 184`image-file-name-extensions', or matches a regexp in
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 0925c6ef9c5..19fa28d4401 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -617,9 +617,6 @@ mouse-3: Previous frame"
617;;;###autoload 617;;;###autoload
618(define-minor-mode image-minor-mode 618(define-minor-mode image-minor-mode
619 "Toggle Image minor mode in this buffer. 619 "Toggle Image minor mode in this buffer.
620With a prefix argument ARG, enable Image minor mode if ARG is
621positive, and disable it otherwise. If called from Lisp, enable
622the mode if ARG is omitted or nil.
623 620
624Image minor mode provides the key \\<image-mode-map>\\[image-toggle-display], 621Image minor mode provides the key \\<image-mode-map>\\[image-toggle-display],
625to switch back to `image-mode' and display an image file as the 622to switch back to `image-mode' and display an image file as the
diff --git a/lisp/international/iso-ascii.el b/lisp/international/iso-ascii.el
index 0103d934b21..bcb285eda06 100644
--- a/lisp/international/iso-ascii.el
+++ b/lisp/international/iso-ascii.el
@@ -163,10 +163,7 @@
163(iso-ascii-display 255 "\"y") ; small y with diaeresis or umlaut mark 163(iso-ascii-display 255 "\"y") ; small y with diaeresis or umlaut mark
164 164
165(define-minor-mode iso-ascii-mode 165(define-minor-mode iso-ascii-mode
166 "Toggle ISO-ASCII mode. 166 "Toggle ISO-ASCII mode."
167With a prefix argument ARG, enable the mode if ARG is positive,
168and disable it otherwise. If called from Lisp, enable the mode
169if ARG is omitted or nil."
170 :variable ((eq standard-display-table iso-ascii-display-table) 167 :variable ((eq standard-display-table iso-ascii-display-table)
171 . (lambda (v) 168 . (lambda (v)
172 (setq standard-display-table 169 (setq standard-display-table
diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el
index df7272c12e4..2b13c60bc65 100644
--- a/lisp/jit-lock.el
+++ b/lisp/jit-lock.el
@@ -266,6 +266,7 @@ If you need to debug code run from jit-lock, see `jit-lock-debug-mode'."
266 266
267(define-minor-mode jit-lock-debug-mode 267(define-minor-mode jit-lock-debug-mode
268 "Minor mode to help debug code run from jit-lock. 268 "Minor mode to help debug code run from jit-lock.
269
269When this minor mode is enabled, jit-lock runs as little code as possible 270When this minor mode is enabled, jit-lock runs as little code as possible
270during redisplay and moves the rest to a timer, where things 271during redisplay and moves the rest to a timer, where things
271like `debug-on-error' and Edebug can be used." 272like `debug-on-error' and Edebug can be used."
diff --git a/lisp/jka-cmpr-hook.el b/lisp/jka-cmpr-hook.el
index cca8ef703ff..d800b605134 100644
--- a/lisp/jka-cmpr-hook.el
+++ b/lisp/jka-cmpr-hook.el
@@ -347,9 +347,6 @@ variables. Setting this through Custom does that automatically."
347 347
348(define-minor-mode auto-compression-mode 348(define-minor-mode auto-compression-mode
349 "Toggle Auto Compression mode. 349 "Toggle Auto Compression mode.
350With a prefix argument ARG, enable Auto Compression mode if ARG
351is positive, and disable it otherwise. If called from Lisp,
352enable the mode if ARG is omitted or nil.
353 350
354Auto Compression mode is a global minor mode. When enabled, 351Auto Compression mode is a global minor mode. When enabled,
355compressed files are automatically uncompressed for reading, and 352compressed files are automatically uncompressed for reading, and
diff --git a/lisp/language/thai-util.el b/lisp/language/thai-util.el
index b550b65a563..d6c9732a9e8 100644
--- a/lisp/language/thai-util.el
+++ b/lisp/language/thai-util.el
@@ -256,11 +256,10 @@ positions (integers or markers) specifying the region."
256 256
257(define-minor-mode thai-word-mode 257(define-minor-mode thai-word-mode
258 "Minor mode to make word-oriented commands aware of Thai words. 258 "Minor mode to make word-oriented commands aware of Thai words.
259With a prefix argument ARG, enable the mode if ARG is positive, 259
260and disable it otherwise. If called from Lisp, enable the mode 260The commands affected are \\[forward-word], \\[backward-word],
261if ARG is omitted or nil. The commands affected are 261\\[kill-word], \\[backward-kill-word], \\[transpose-words], and
262\\[forward-word], \\[backward-word], \\[kill-word], \\[backward-kill-word], 262\\[fill-paragraph]."
263\\[transpose-words], and \\[fill-paragraph]."
264 :global t :group 'mule 263 :global t :group 'mule
265 (cond (thai-word-mode 264 (cond (thai-word-mode
266 ;; This enables linebreak between Thai characters. 265 ;; This enables linebreak between Thai characters.
diff --git a/lisp/linum.el b/lisp/linum.el
index 9df0c5d0236..6e673e58b09 100644
--- a/lisp/linum.el
+++ b/lisp/linum.el
@@ -75,12 +75,10 @@ and you have to scroll or press \\[recenter-top-bottom] to update the numbers."
75;;;###autoload 75;;;###autoload
76(define-minor-mode linum-mode 76(define-minor-mode linum-mode
77 "Toggle display of line numbers in the left margin (Linum mode). 77 "Toggle display of line numbers in the left margin (Linum mode).
78With a prefix argument ARG, enable Linum mode if ARG is positive,
79and disable it otherwise. If called from Lisp, enable the mode
80if ARG is omitted or nil.
81 78
82Linum mode is a buffer-local minor mode." 79Linum mode is a buffer-local minor mode."
83 :lighter "" ; for desktop.el 80 :lighter "" ; for desktop.el
81 :append-arg-docstring t
84 (if linum-mode 82 (if linum-mode
85 (progn 83 (progn
86 (if linum-eager 84 (if linum-eager
diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el
index d35b87046fe..f5d280ae1ea 100644
--- a/lisp/mail/footnote.el
+++ b/lisp/mail/footnote.el
@@ -945,9 +945,6 @@ being set it is automatically widened."
945;;;###autoload 945;;;###autoload
946(define-minor-mode footnote-mode 946(define-minor-mode footnote-mode
947 "Toggle Footnote mode. 947 "Toggle Footnote mode.
948With a prefix argument ARG, enable Footnote mode if ARG is
949positive, and disable it otherwise. If called from Lisp, enable
950the mode if ARG is omitted or nil.
951 948
952Footnote mode is a buffer-local minor mode. If enabled, it 949Footnote mode is a buffer-local minor mode. If enabled, it
953provides footnote support for `message-mode'. To get started, 950provides footnote support for `message-mode'. To get started,
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el
index ba1688f411d..0ce1a3b12b2 100644
--- a/lisp/mail/mailabbrev.el
+++ b/lisp/mail/mailabbrev.el
@@ -134,9 +134,6 @@
134;;;###autoload 134;;;###autoload
135(define-minor-mode mail-abbrevs-mode 135(define-minor-mode mail-abbrevs-mode
136 "Toggle abbrev expansion of mail aliases (Mail Abbrevs mode). 136 "Toggle abbrev expansion of mail aliases (Mail Abbrevs mode).
137With a prefix argument ARG, enable Mail Abbrevs mode if ARG is
138positive, and disable it otherwise. If called from Lisp, enable
139the mode if ARG is omitted or nil.
140 137
141Mail Abbrevs mode is a global minor mode. When enabled, 138Mail Abbrevs mode is a global minor mode. When enabled,
142abbrev-like expansion is performed when editing certain mail 139abbrev-like expansion is performed when editing certain mail
diff --git a/lisp/master.el b/lisp/master.el
index 4891c07166a..71768979024 100644
--- a/lisp/master.el
+++ b/lisp/master.el
@@ -73,9 +73,6 @@ You can set this variable using `master-set-slave'.")
73;;;###autoload 73;;;###autoload
74(define-minor-mode master-mode 74(define-minor-mode master-mode
75 "Toggle Master mode. 75 "Toggle Master mode.
76With a prefix argument ARG, enable Master mode if ARG is
77positive, and disable it otherwise. If called from Lisp, enable
78the mode if ARG is omitted or nil.
79 76
80When Master mode is enabled, you can scroll the slave buffer 77When Master mode is enabled, you can scroll the slave buffer
81using the following commands: 78using the following commands:
diff --git a/lisp/mb-depth.el b/lisp/mb-depth.el
index e75e497999e..84c73cadfa5 100644
--- a/lisp/mb-depth.el
+++ b/lisp/mb-depth.el
@@ -58,9 +58,6 @@ The prompt should already have been inserted."
58;;;###autoload 58;;;###autoload
59(define-minor-mode minibuffer-depth-indicate-mode 59(define-minor-mode minibuffer-depth-indicate-mode
60 "Toggle Minibuffer Depth Indication mode. 60 "Toggle Minibuffer Depth Indication mode.
61With a prefix argument ARG, enable Minibuffer Depth Indication
62mode if ARG is positive, and disable it otherwise. If called
63from Lisp, enable the mode if ARG is omitted or nil.
64 61
65Minibuffer Depth Indication mode is a global minor mode. When 62Minibuffer Depth Indication mode is a global minor mode. When
66enabled, any recursive use of the minibuffer will show the 63enabled, any recursive use of the minibuffer will show the
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 25e016247b3..ad59533e262 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -2285,9 +2285,6 @@ It must accept a buffer as its only required argument.")
2285 2285
2286(define-minor-mode menu-bar-mode 2286(define-minor-mode menu-bar-mode
2287 "Toggle display of a menu bar on each frame (Menu Bar mode). 2287 "Toggle display of a menu bar on each frame (Menu Bar mode).
2288With a prefix argument ARG, enable Menu Bar mode if ARG is
2289positive, and disable it otherwise. If called from Lisp, also
2290enable Menu Bar mode if ARG is omitted or nil.
2291 2288
2292This command applies to all frames that exist and frames to be 2289This command applies to all frames that exist and frames to be
2293created in the future." 2290created in the future."
diff --git a/lisp/minibuf-eldef.el b/lisp/minibuf-eldef.el
index 07663ea6a6e..a81e6635894 100644
--- a/lisp/minibuf-eldef.el
+++ b/lisp/minibuf-eldef.el
@@ -163,9 +163,6 @@ been set up by `minibuf-eldef-setup-minibuffer'."
163;;;###autoload 163;;;###autoload
164(define-minor-mode minibuffer-electric-default-mode 164(define-minor-mode minibuffer-electric-default-mode
165 "Toggle Minibuffer Electric Default mode. 165 "Toggle Minibuffer Electric Default mode.
166With a prefix argument ARG, enable Minibuffer Electric Default
167mode if ARG is positive, and disable it otherwise. If called
168from Lisp, enable the mode if ARG is omitted or nil.
169 166
170Minibuffer Electric Default mode is a global minor mode. When 167Minibuffer Electric Default mode is a global minor mode. When
171enabled, minibuffer prompts that show a default value only show 168enabled, minibuffer prompts that show a default value only show
diff --git a/lisp/msb.el b/lisp/msb.el
index 383f075bf98..91d83d2e4ad 100644
--- a/lisp/msb.el
+++ b/lisp/msb.el
@@ -1132,9 +1132,6 @@ variable `msb-menu-cond'."
1132;;;###autoload 1132;;;###autoload
1133(define-minor-mode msb-mode 1133(define-minor-mode msb-mode
1134 "Toggle Msb mode. 1134 "Toggle Msb mode.
1135With a prefix argument ARG, enable Msb mode if ARG is positive,
1136and disable it otherwise. If called from Lisp, enable the mode
1137if ARG is omitted or nil.
1138 1135
1139This mode overrides the binding(s) of `mouse-buffer-menu' to provide a 1136This mode overrides the binding(s) of `mouse-buffer-menu' to provide a
1140different buffer menu using the function `msb'." 1137different buffer menu using the function `msb'."
diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index f055df9ee87..876659f1f71 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -309,10 +309,7 @@ non-Windows systems."
309(defvar mwheel-installed-bindings nil) 309(defvar mwheel-installed-bindings nil)
310 310
311(define-minor-mode mouse-wheel-mode 311(define-minor-mode mouse-wheel-mode
312 "Toggle mouse wheel support (Mouse Wheel mode). 312 "Toggle mouse wheel support (Mouse Wheel mode)."
313With a prefix argument ARG, enable Mouse Wheel mode if ARG is
314positive, and disable it otherwise. If called from Lisp, enable
315the mode if ARG is omitted or nil."
316 :init-value t 313 :init-value t
317 ;; We'd like to use custom-initialize-set here so the setup is done 314 ;; We'd like to use custom-initialize-set here so the setup is done
318 ;; before dumping, but at the point where the defcustom is evaluated, 315 ;; before dumping, but at the point where the defcustom is evaluated,
diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el
index cc1cdd15184..db59df374b1 100644
--- a/lisp/net/goto-addr.el
+++ b/lisp/net/goto-addr.el
@@ -270,10 +270,7 @@ Also fontifies the buffer appropriately (see `goto-address-fontify-p' and
270 270
271;;;###autoload 271;;;###autoload
272(define-minor-mode goto-address-mode 272(define-minor-mode goto-address-mode
273 "Minor mode to buttonize URLs and e-mail addresses in the current buffer. 273 "Minor mode to buttonize URLs and e-mail addresses in the current buffer."
274With a prefix argument ARG, enable the mode if ARG is positive,
275and disable it otherwise. If called from Lisp, enable the mode
276if ARG is omitted or nil."
277 nil 274 nil
278 "" 275 ""
279 nil 276 nil
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index abd969216f3..5b63e0c34df 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -186,9 +186,6 @@ underneath each nick."
186 186
187(define-minor-mode rcirc-omit-mode 187(define-minor-mode rcirc-omit-mode
188 "Toggle the hiding of \"uninteresting\" lines. 188 "Toggle the hiding of \"uninteresting\" lines.
189With a prefix argument ARG, enable Rcirc-Omit mode if ARG is
190positive, and disable it otherwise. If called from Lisp, enable
191the mode if ARG is omitted or nil.
192 189
193Uninteresting lines are those whose responses are listed in 190Uninteresting lines are those whose responses are listed in
194`rcirc-omit-responses'." 191`rcirc-omit-responses'."
@@ -1353,10 +1350,7 @@ Create the buffer if it doesn't exist."
1353 "Keymap for multiline mode in rcirc.") 1350 "Keymap for multiline mode in rcirc.")
1354 1351
1355(define-minor-mode rcirc-multiline-minor-mode 1352(define-minor-mode rcirc-multiline-minor-mode
1356 "Minor mode for editing multiple lines in rcirc. 1353 "Minor mode for editing multiple lines in rcirc."
1357With a prefix argument ARG, enable the mode if ARG is positive,
1358and disable it otherwise. If called from Lisp, enable the mode
1359if ARG is omitted or nil."
1360 :init-value nil 1354 :init-value nil
1361 :lighter " rcirc-mline" 1355 :lighter " rcirc-mline"
1362 :keymap rcirc-multiline-minor-mode-map 1356 :keymap rcirc-multiline-minor-mode-map
@@ -1867,10 +1861,7 @@ This function does not alter the INPUT string."
1867 1861
1868;;;###autoload 1862;;;###autoload
1869(define-minor-mode rcirc-track-minor-mode 1863(define-minor-mode rcirc-track-minor-mode
1870 "Global minor mode for tracking activity in rcirc buffers. 1864 "Global minor mode for tracking activity in rcirc buffers."
1871With a prefix argument ARG, enable the mode if ARG is positive,
1872and disable it otherwise. If called from Lisp, enable the mode
1873if ARG is omitted or nil."
1874 :init-value nil 1865 :init-value nil
1875 :lighter "" 1866 :lighter ""
1876 :keymap rcirc-track-minor-mode-map 1867 :keymap rcirc-track-minor-mode-map
diff --git a/lisp/obsolete/complete.el b/lisp/obsolete/complete.el
index ee6af770290..f5e4328d33c 100644
--- a/lisp/obsolete/complete.el
+++ b/lisp/obsolete/complete.el
@@ -191,7 +191,6 @@ If nil, means use the colon-separated path in the variable $INCPATH instead."
191;;;###autoload 191;;;###autoload
192(define-minor-mode partial-completion-mode 192(define-minor-mode partial-completion-mode
193 "Toggle Partial Completion mode. 193 "Toggle Partial Completion mode.
194With prefix ARG, turn Partial Completion mode on if ARG is positive.
195 194
196When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is 195When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is
197nil) is enhanced so that if some string is divided into words and each word is 196nil) is enhanced so that if some string is divided into words and each word is
diff --git a/lisp/obsolete/crisp.el b/lisp/obsolete/crisp.el
index 1d09d9e223f..4bd555a72ed 100644
--- a/lisp/obsolete/crisp.el
+++ b/lisp/obsolete/crisp.el
@@ -353,10 +353,7 @@ normal CRiSP binding) and when it is nil M-x will run
353 353
354;;;###autoload 354;;;###autoload
355(define-minor-mode crisp-mode 355(define-minor-mode crisp-mode
356 "Toggle CRiSP/Brief emulation (CRiSP mode). 356 "Toggle CRiSP/Brief emulation (CRiSP mode)."
357With a prefix argument ARG, enable CRiSP mode if ARG is positive,
358and disable it otherwise. If called from Lisp, enable the mode
359if ARG is omitted or nil."
360 :keymap crisp-mode-map 357 :keymap crisp-mode-map
361 :lighter crisp-mode-mode-line-string 358 :lighter crisp-mode-mode-line-string
362 (when crisp-mode 359 (when crisp-mode
diff --git a/lisp/obsolete/iswitchb.el b/lisp/obsolete/iswitchb.el
index d03621df3c1..6192368f8b1 100644
--- a/lisp/obsolete/iswitchb.el
+++ b/lisp/obsolete/iswitchb.el
@@ -1417,9 +1417,6 @@ See the variable `iswitchb-case' for details."
1417;;;###autoload 1417;;;###autoload
1418(define-minor-mode iswitchb-mode 1418(define-minor-mode iswitchb-mode
1419 "Toggle Iswitchb mode. 1419 "Toggle Iswitchb mode.
1420With a prefix argument ARG, enable Iswitchb mode if ARG is
1421positive, and disable it otherwise. If called from Lisp, enable
1422the mode if ARG is omitted or nil.
1423 1420
1424Iswitchb mode is a global minor mode that enables switching 1421Iswitchb mode is a global minor mode that enables switching
1425between buffers using substrings. See `iswitchb' for details." 1422between buffers using substrings. See `iswitchb' for details."
diff --git a/lisp/obsolete/longlines.el b/lisp/obsolete/longlines.el
index e3121dbd87e..d07f7bf34bf 100644
--- a/lisp/obsolete/longlines.el
+++ b/lisp/obsolete/longlines.el
@@ -97,9 +97,6 @@ This is used when `longlines-show-hard-newlines' is on."
97;;;###autoload 97;;;###autoload
98(define-minor-mode longlines-mode 98(define-minor-mode longlines-mode
99 "Toggle Long Lines mode in this buffer. 99 "Toggle Long Lines mode in this buffer.
100With a prefix argument ARG, enable Long Lines mode if ARG is
101positive, and disable it otherwise. If called from Lisp, enable
102the mode if ARG is omitted or nil.
103 100
104When Long Lines mode is enabled, long lines are wrapped if they 101When Long Lines mode is enabled, long lines are wrapped if they
105extend beyond `fill-column'. The soft newlines used for line 102extend beyond `fill-column'. The soft newlines used for line
diff --git a/lisp/obsolete/mouse-sel.el b/lisp/obsolete/mouse-sel.el
index 52e84f2117c..f54bcf01c99 100644
--- a/lisp/obsolete/mouse-sel.el
+++ b/lisp/obsolete/mouse-sel.el
@@ -194,9 +194,6 @@ If nil, point will always be placed at the beginning of the region."
194;;;###autoload 194;;;###autoload
195(define-minor-mode mouse-sel-mode 195(define-minor-mode mouse-sel-mode
196 "Toggle Mouse Sel mode. 196 "Toggle Mouse Sel mode.
197With a prefix argument ARG, enable Mouse Sel mode if ARG is
198positive, and disable it otherwise. If called from Lisp, enable
199the mode if ARG is omitted or nil.
200 197
201Mouse Sel mode is a global minor mode. When enabled, mouse 198Mouse Sel mode is a global minor mode. When enabled, mouse
202selection is enhanced in various ways: 199selection is enhanced in various ways:
diff --git a/lisp/obsolete/old-whitespace.el b/lisp/obsolete/old-whitespace.el
index 86dd5dc8422..0c9fc321184 100644
--- a/lisp/obsolete/old-whitespace.el
+++ b/lisp/obsolete/old-whitespace.el
@@ -747,7 +747,6 @@ If timer is not set, then set it to scan the files in
747;;;###autoload 747;;;###autoload
748(define-minor-mode whitespace-global-mode 748(define-minor-mode whitespace-global-mode
749 "Toggle using Whitespace mode in new buffers. 749 "Toggle using Whitespace mode in new buffers.
750With ARG, turn the mode on if ARG is positive, otherwise turn it off.
751 750
752When this mode is active, `whitespace-buffer' is added to 751When this mode is active, `whitespace-buffer' is added to
753`find-file-hook' and `kill-buffer-hook'." 752`find-file-hook' and `kill-buffer-hook'."
diff --git a/lisp/obsolete/tpu-edt.el b/lisp/obsolete/tpu-edt.el
index 83b713d9277..c047381ef71 100644
--- a/lisp/obsolete/tpu-edt.el
+++ b/lisp/obsolete/tpu-edt.el
@@ -980,10 +980,7 @@ and the total number of lines in the buffer."
980;;; 980;;;
981;;;###autoload 981;;;###autoload
982(define-minor-mode tpu-edt-mode 982(define-minor-mode tpu-edt-mode
983 "Toggle TPU/edt emulation on or off. 983 "Toggle TPU/edt emulation on or off."
984With a prefix argument ARG, enable the mode if ARG is positive,
985and disable it otherwise. If called from Lisp, enable the mode
986if ARG is omitted or nil."
987 :global t :group 'tpu 984 :global t :group 'tpu
988 (if tpu-edt-mode (tpu-edt-on) (tpu-edt-off))) 985 (if tpu-edt-mode (tpu-edt-on) (tpu-edt-off)))
989 986
diff --git a/lisp/obsolete/tpu-extras.el b/lisp/obsolete/tpu-extras.el
index 8739e1b2152..21006ff005f 100644
--- a/lisp/obsolete/tpu-extras.el
+++ b/lisp/obsolete/tpu-extras.el
@@ -133,10 +133,7 @@ the previous line when starting from a line beginning."
133 133
134;;;###autoload 134;;;###autoload
135(define-minor-mode tpu-cursor-free-mode 135(define-minor-mode tpu-cursor-free-mode
136 "Minor mode to allow the cursor to move freely about the screen. 136 "Minor mode to allow the cursor to move freely about the screen."
137With a prefix argument ARG, enable the mode if ARG is positive,
138and disable it otherwise. If called from Lisp, enable the mode
139if ARG is omitted or nil."
140 :init-value nil 137 :init-value nil
141 (if (not tpu-cursor-free-mode) 138 (if (not tpu-cursor-free-mode)
142 (tpu-trim-line-ends)) 139 (tpu-trim-line-ends))
diff --git a/lisp/obsolete/xesam.el b/lisp/obsolete/xesam.el
index 1f3661d924a..3e91b2c8dfc 100644
--- a/lisp/obsolete/xesam.el
+++ b/lisp/obsolete/xesam.el
@@ -512,9 +512,6 @@ engine specific, widget :notify function to visualize xesam:url."
512 512
513(define-minor-mode xesam-minor-mode 513(define-minor-mode xesam-minor-mode
514 "Toggle Xesam minor mode. 514 "Toggle Xesam minor mode.
515With a prefix argument ARG, enable Xesam minor mode if ARG is
516positive, and disable it otherwise. If called from Lisp, enable
517the mode if ARG is omitted or nil.
518 515
519When Xesam minor mode is enabled, all text which matches a 516When Xesam minor mode is enabled, all text which matches a
520previous Xesam query in this buffer is highlighted." 517previous Xesam query in this buffer is highlighted."
diff --git a/lisp/outline.el b/lisp/outline.el
index 669935bbc12..59169e41897 100644
--- a/lisp/outline.el
+++ b/lisp/outline.el
@@ -299,9 +299,6 @@ After that, changing the prefix key requires manipulating keymaps."
299;;;###autoload 299;;;###autoload
300(define-minor-mode outline-minor-mode 300(define-minor-mode outline-minor-mode
301 "Toggle Outline minor mode. 301 "Toggle Outline minor mode.
302With a prefix argument ARG, enable Outline minor mode if ARG is
303positive, and disable it otherwise. If called from Lisp, enable
304the mode if ARG is omitted or nil.
305 302
306See the command `outline-mode' for more information on this mode." 303See the command `outline-mode' for more information on this mode."
307 nil " Outl" (list (cons [menu-bar] outline-minor-mode-menu-bar-map) 304 nil " Outl" (list (cons [menu-bar] outline-minor-mode-menu-bar-map)
diff --git a/lisp/paren.el b/lisp/paren.el
index 467e5e985d6..1cab6eb2be3 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -100,9 +100,6 @@ its position."
100;;;###autoload 100;;;###autoload
101(define-minor-mode show-paren-mode 101(define-minor-mode show-paren-mode
102 "Toggle visualization of matching parens (Show Paren mode). 102 "Toggle visualization of matching parens (Show Paren mode).
103With a prefix argument ARG, enable Show Paren mode if ARG is
104positive, and disable it otherwise. If called from Lisp, enable
105the mode if ARG is omitted or nil.
106 103
107Show Paren mode is a global minor mode. When enabled, any 104Show Paren mode is a global minor mode. When enabled, any
108matching parenthesis is highlighted in `show-paren-style' after 105matching parenthesis is highlighted in `show-paren-style' after
diff --git a/lisp/pixel-scroll.el b/lisp/pixel-scroll.el
index d362419e0fc..227580f4d42 100644
--- a/lisp/pixel-scroll.el
+++ b/lisp/pixel-scroll.el
@@ -105,10 +105,7 @@ function returns nil."
105 105
106;;;###autoload 106;;;###autoload
107(define-minor-mode pixel-scroll-mode 107(define-minor-mode pixel-scroll-mode
108 "A minor mode to scroll text pixel-by-pixel. 108 "A minor mode to scroll text pixel-by-pixel."
109With a prefix argument ARG, enable Pixel Scroll mode if ARG is positive,
110and disable it otherwise. If called from Lisp, enable Pixel Scroll mode
111if ARG is omitted or nil."
112 :init-value nil 109 :init-value nil
113 :group 'scrolling 110 :group 'scrolling
114 :global t 111 :global t
diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el
index d2b3af19724..75bd0ba51e0 100644
--- a/lisp/progmodes/bug-reference.el
+++ b/lisp/progmodes/bug-reference.el
@@ -141,10 +141,7 @@ The second subexpression should match the bug reference (usually a number)."
141 141
142;;;###autoload 142;;;###autoload
143(define-minor-mode bug-reference-mode 143(define-minor-mode bug-reference-mode
144 "Toggle hyperlinking bug references in the buffer (Bug Reference mode). 144 "Toggle hyperlinking bug references in the buffer (Bug Reference mode)."
145With a prefix argument ARG, enable Bug Reference mode if ARG is
146positive, and disable it otherwise. If called from Lisp, enable
147the mode if ARG is omitted or nil."
148 nil 145 nil
149 "" 146 ""
150 nil 147 nil
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 15503ee0b25..7e7c18fb30e 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -2164,9 +2164,6 @@ Optional argument MINOR indicates this is called from
2164;;;###autoload 2164;;;###autoload
2165(define-minor-mode compilation-shell-minor-mode 2165(define-minor-mode compilation-shell-minor-mode
2166 "Toggle Compilation Shell minor mode. 2166 "Toggle Compilation Shell minor mode.
2167With a prefix argument ARG, enable Compilation Shell minor mode
2168if ARG is positive, and disable it otherwise. If called from
2169Lisp, enable the mode if ARG is omitted or nil.
2170 2167
2171When Compilation Shell minor mode is enabled, all the 2168When Compilation Shell minor mode is enabled, all the
2172error-parsing commands of the Compilation major mode are 2169error-parsing commands of the Compilation major mode are
@@ -2181,9 +2178,6 @@ See `compilation-mode'."
2181;;;###autoload 2178;;;###autoload
2182(define-minor-mode compilation-minor-mode 2179(define-minor-mode compilation-minor-mode
2183 "Toggle Compilation minor mode. 2180 "Toggle Compilation minor mode.
2184With a prefix argument ARG, enable Compilation minor mode if ARG
2185is positive, and disable it otherwise. If called from Lisp,
2186enable the mode if ARG is omitted or nil.
2187 2181
2188When Compilation minor mode is enabled, all the error-parsing 2182When Compilation minor mode is enabled, all the error-parsing
2189commands of Compilation major mode are available. See 2183commands of Compilation major mode are available. See
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index a578896dbf7..ff79b909563 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -180,11 +180,7 @@ Suspicious constructs are highlighted using `font-lock-warning-face'.
180 180
181Note, in addition to enabling this minor mode, the major mode must 181Note, in addition to enabling this minor mode, the major mode must
182be included in the variable `cwarn-configuration'. By default C and 182be included in the variable `cwarn-configuration'. By default C and
183C++ modes are included. 183C++ modes are included."
184
185With a prefix argument ARG, enable the mode if ARG is positive,
186and disable it otherwise. If called from Lisp, enable the mode
187if ARG is omitted or nil."
188 :group 'cwarn :lighter cwarn-mode-text 184 :group 'cwarn :lighter cwarn-mode-text
189 (cwarn-font-lock-keywords cwarn-mode) 185 (cwarn-font-lock-keywords cwarn-mode)
190 (font-lock-flush)) 186 (font-lock-flush))
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index e8bb3355a03..60d1660e5fe 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -915,9 +915,6 @@ Interactively, with a prefix arg, FORCE is t."
915;;;###autoload 915;;;###autoload
916(define-minor-mode flymake-mode 916(define-minor-mode flymake-mode
917 "Toggle Flymake mode on or off. 917 "Toggle Flymake mode on or off.
918With a prefix argument ARG, enable Flymake mode if ARG is
919positive, and disable it otherwise. If called from Lisp, enable
920the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'.
921 918
922Flymake is an Emacs minor mode for on-the-fly syntax checking. 919Flymake is an Emacs minor mode for on-the-fly syntax checking.
923Flymake collects diagnostic information from multiple sources, 920Flymake collects diagnostic information from multiple sources,
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 88e34d8df9f..6fee895e6a0 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -1138,9 +1138,7 @@ Changed values are highlighted with the face `font-lock-warning-face'."
1138 :version "22.2") 1138 :version "22.2")
1139 1139
1140(define-minor-mode gdb-speedbar-auto-raise 1140(define-minor-mode gdb-speedbar-auto-raise
1141 "Minor mode to automatically raise the speedbar for watch expressions. 1141 "Minor mode to automatically raise the speedbar for watch expressions."
1142With prefix argument ARG, automatically raise speedbar if ARG is
1143positive, otherwise don't automatically raise it."
1144 :global t 1142 :global t
1145 :group 'gdb 1143 :group 'gdb
1146 :version "22.1") 1144 :version "22.1")
diff --git a/lisp/progmodes/glasses.el b/lisp/progmodes/glasses.el
index c3e8ac35f32..f2bf2099469 100644
--- a/lisp/progmodes/glasses.el
+++ b/lisp/progmodes/glasses.el
@@ -312,10 +312,9 @@ recognized according to the current value of the variable `glasses-separator'."
312;;;###autoload 312;;;###autoload
313(define-minor-mode glasses-mode 313(define-minor-mode glasses-mode
314 "Minor mode for making identifiers likeThis readable. 314 "Minor mode for making identifiers likeThis readable.
315With a prefix argument ARG, enable the mode if ARG is positive, 315
316and disable it otherwise. If called from Lisp, enable the mode 316When this mode is active, it tries to add virtual
317if ARG is omitted or nil. When this mode is active, it tries to 317separators (like underscores) at places they belong to."
318add virtual separators (like underscores) at places they belong to."
319 :group 'glasses :lighter " o^o" 318 :group 'glasses :lighter " o^o"
320 (save-excursion 319 (save-excursion
321 (save-restriction 320 (save-restriction
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 6826674a942..91b4a65edd9 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -3363,10 +3363,7 @@ Treats actions as defuns."
3363 3363
3364;;;###autoload 3364;;;###autoload
3365(define-minor-mode gud-tooltip-mode 3365(define-minor-mode gud-tooltip-mode
3366 "Toggle the display of GUD tooltips. 3366 "Toggle the display of GUD tooltips."
3367With a prefix argument ARG, enable the feature if ARG is
3368positive, and disable it otherwise. If called from Lisp, enable
3369it if ARG is omitted or nil."
3370 :global t 3367 :global t
3371 :group 'gud 3368 :group 'gud
3372 :group 'tooltip 3369 :group 'tooltip
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el
index 7ac1312d8dc..ce7127a3d77 100644
--- a/lisp/progmodes/hideif.el
+++ b/lisp/progmodes/hideif.el
@@ -263,9 +263,6 @@ This backup prevents any accidental clearance of `hide-fidef-env' by
263;;;###autoload 263;;;###autoload
264(define-minor-mode hide-ifdef-mode 264(define-minor-mode hide-ifdef-mode
265 "Toggle features to hide/show #ifdef blocks (Hide-Ifdef mode). 265 "Toggle features to hide/show #ifdef blocks (Hide-Ifdef mode).
266With a prefix argument ARG, enable Hide-Ifdef mode if ARG is
267positive, and disable it otherwise. If called from Lisp, enable
268the mode if ARG is omitted or nil.
269 266
270Hide-Ifdef mode is a buffer-local minor mode for use with C and 267Hide-Ifdef mode is a buffer-local minor mode for use with C and
271C-like major modes. When enabled, code within #ifdef constructs 268C-like major modes. When enabled, code within #ifdef constructs
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index 799536cbf49..84b21473947 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -932,9 +932,6 @@ This can be useful if you have huge RCS logs in those comments."
932;;;###autoload 932;;;###autoload
933(define-minor-mode hs-minor-mode 933(define-minor-mode hs-minor-mode
934 "Minor mode to selectively hide/show code and comment blocks. 934 "Minor mode to selectively hide/show code and comment blocks.
935With a prefix argument ARG, enable the mode if ARG is positive,
936and disable it otherwise. If called from Lisp, enable the mode
937if ARG is omitted or nil.
938 935
939When hideshow minor mode is on, the menu bar is augmented with hideshow 936When hideshow minor mode is on, the menu bar is augmented with hideshow
940commands and the hideshow commands are enabled. 937commands and the hideshow commands are enabled.
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index dcb81f5a944..616341b0a2c 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -4251,9 +4251,6 @@ Otherwise, just expand the file name."
4251 4251
4252(define-minor-mode idlwave-shell-electric-debug-mode 4252(define-minor-mode idlwave-shell-electric-debug-mode
4253 "Toggle Idlwave Shell Electric Debug mode. 4253 "Toggle Idlwave Shell Electric Debug mode.
4254With a prefix argument ARG, enable the mode if ARG is positive,
4255and disable it otherwise. If called from Lisp, enable the mode
4256if ARG is omitted or nil.
4257 4254
4258When Idlwave Shell Electric Debug mode is enabled, the Idlwave 4255When Idlwave Shell Electric Debug mode is enabled, the Idlwave
4259Shell debugging commands are available as single key sequences." 4256Shell debugging commands are available as single key sequences."
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index 58dc213d8af..6d13d328c5f 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -1405,9 +1405,6 @@ The default is a name found in the buffer around point."
1405 1405
1406(define-minor-mode pascal-outline-mode 1406(define-minor-mode pascal-outline-mode
1407 "Outline-line minor mode for Pascal mode. 1407 "Outline-line minor mode for Pascal mode.
1408With a prefix argument ARG, enable the mode if ARG is positive,
1409and disable it otherwise. If called from Lisp, enable the mode
1410if ARG is omitted or nil.
1411 1408
1412When enabled, portions of the text being edited may be made 1409When enabled, portions of the text being edited may be made
1413invisible.\\<pascal-outline-map> 1410invisible.\\<pascal-outline-map>
diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el
index 19269766c90..b1a17dfa3cc 100644
--- a/lisp/progmodes/prog-mode.el
+++ b/lisp/progmodes/prog-mode.el
@@ -196,9 +196,6 @@ on the symbol."
196;;;###autoload 196;;;###autoload
197(define-minor-mode prettify-symbols-mode 197(define-minor-mode prettify-symbols-mode
198 "Toggle Prettify Symbols mode. 198 "Toggle Prettify Symbols mode.
199With a prefix argument ARG, enable Prettify Symbols mode if ARG is
200positive, and disable it otherwise. If called from Lisp, enable
201the mode if ARG is omitted or nil.
202 199
203When Prettify Symbols mode and font-locking are enabled, symbols are 200When Prettify Symbols mode and font-locking are enabled, symbols are
204prettified (displayed as composed characters) according to the rules 201prettified (displayed as composed characters) according to the rules
diff --git a/lisp/progmodes/subword.el b/lisp/progmodes/subword.el
index cbaa273a7a4..ed71b862cfd 100644
--- a/lisp/progmodes/subword.el
+++ b/lisp/progmodes/subword.el
@@ -93,9 +93,6 @@
93;;;###autoload 93;;;###autoload
94(define-minor-mode subword-mode 94(define-minor-mode subword-mode
95 "Toggle subword movement and editing (Subword mode). 95 "Toggle subword movement and editing (Subword mode).
96With a prefix argument ARG, enable Subword mode if ARG is
97positive, and disable it otherwise. If called from Lisp, enable
98the mode if ARG is omitted or nil.
99 96
100Subword mode is a buffer-local minor mode. Enabling it changes 97Subword mode is a buffer-local minor mode. Enabling it changes
101the definition of a word so that word-based commands stop inside 98the definition of a word so that word-based commands stop inside
@@ -269,9 +266,6 @@ Optional argument ARG is the same as for `capitalize-word'."
269;;;###autoload 266;;;###autoload
270(define-minor-mode superword-mode 267(define-minor-mode superword-mode
271 "Toggle superword movement and editing (Superword mode). 268 "Toggle superword movement and editing (Superword mode).
272With a prefix argument ARG, enable Superword mode if ARG is
273positive, and disable it otherwise. If called from Lisp, enable
274the mode if ARG is omitted or nil.
275 269
276Superword mode is a buffer-local minor mode. Enabling it changes 270Superword mode is a buffer-local minor mode. Enabling it changes
277the definition of words such that symbols characters are treated 271the definition of words such that symbols characters are treated
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index f6cb2419de8..e17b7f504e9 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -8707,17 +8707,11 @@ project is defined."
8707;; Enabling/disabling 8707;; Enabling/disabling
8708 8708
8709(define-minor-mode vhdl-electric-mode 8709(define-minor-mode vhdl-electric-mode
8710 "Toggle VHDL electric mode. 8710 "Toggle VHDL electric mode."
8711With a prefix argument ARG, enable the mode if ARG is positive,
8712and disable it otherwise. If called from Lisp, enable it if ARG
8713is omitted or nil."
8714 :global t :group 'vhdl-mode) 8711 :global t :group 'vhdl-mode)
8715 8712
8716(define-minor-mode vhdl-stutter-mode 8713(define-minor-mode vhdl-stutter-mode
8717 "Toggle VHDL stuttering mode. 8714 "Toggle VHDL stuttering mode."
8718With a prefix argument ARG, enable the mode if ARG is positive,
8719and disable it otherwise. If called from Lisp, enable it if ARG
8720is omitted or nil."
8721 :global t :group 'vhdl-mode) 8715 :global t :group 'vhdl-mode)
8722 8716
8723;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 8717;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index 152f6d22937..7604be0c25f 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -247,9 +247,6 @@ It creates the Imenu index for the buffer, if necessary."
247;;;###autoload 247;;;###autoload
248(define-minor-mode which-function-mode 248(define-minor-mode which-function-mode
249 "Toggle mode line display of current function (Which Function mode). 249 "Toggle mode line display of current function (Which Function mode).
250With a prefix argument ARG, enable Which Function mode if ARG is
251positive, and disable it otherwise. If called from Lisp, enable
252the mode if ARG is omitted or nil.
253 250
254Which Function mode is a global minor mode. When enabled, the 251Which Function mode is a global minor mode. When enabled, the
255current function name is continuously displayed in the mode line, 252current function name is continuously displayed in the mode line,
diff --git a/lisp/recentf.el b/lisp/recentf.el
index c3c4e459222..e318486cded 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -1342,9 +1342,6 @@ That is, remove duplicates, non-kept, and excluded files."
1342;;;###autoload 1342;;;###autoload
1343(define-minor-mode recentf-mode 1343(define-minor-mode recentf-mode
1344 "Toggle \"Open Recent\" menu (Recentf mode). 1344 "Toggle \"Open Recent\" menu (Recentf mode).
1345With a prefix argument ARG, enable Recentf mode if ARG is
1346positive, and disable it otherwise. If called from Lisp, enable
1347Recentf mode if ARG is omitted or nil.
1348 1345
1349When Recentf mode is enabled, a \"Open Recent\" submenu is 1346When Recentf mode is enabled, a \"Open Recent\" submenu is
1350displayed in the \"File\" menu, containing a list of files that 1347displayed in the \"File\" menu, containing a list of files that
diff --git a/lisp/rect.el b/lisp/rect.el
index ba13e123580..8ccf051ee18 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -604,6 +604,7 @@ with a prefix argument, prompt for START-AT and FORMAT."
604;;;###autoload 604;;;###autoload
605(define-minor-mode rectangle-mark-mode 605(define-minor-mode rectangle-mark-mode
606 "Toggle the region as rectangular. 606 "Toggle the region as rectangular.
607
607Activates the region if needed. Only lasts until the region is deactivated." 608Activates the region if needed. Only lasts until the region is deactivated."
608 nil nil nil 609 nil nil nil
609 (rectangle--reset-crutches) 610 (rectangle--reset-crutches)
diff --git a/lisp/reveal.el b/lisp/reveal.el
index 2831c0cc010..a3ecfc490e0 100644
--- a/lisp/reveal.el
+++ b/lisp/reveal.el
@@ -191,9 +191,6 @@ Each element has the form (WINDOW . OVERLAY).")
191;;;###autoload 191;;;###autoload
192(define-minor-mode reveal-mode 192(define-minor-mode reveal-mode
193 "Toggle uncloaking of invisible text near point (Reveal mode). 193 "Toggle uncloaking of invisible text near point (Reveal mode).
194With a prefix argument ARG, enable Reveal mode if ARG is
195positive, and disable it otherwise. If called from Lisp, enable
196Reveal mode if ARG is omitted or nil.
197 194
198Reveal mode is a buffer-local minor mode. When enabled, it 195Reveal mode is a buffer-local minor mode. When enabled, it
199reveals invisible text around point." 196reveals invisible text around point."
@@ -210,11 +207,7 @@ reveals invisible text around point."
210;;;###autoload 207;;;###autoload
211(define-minor-mode global-reveal-mode 208(define-minor-mode global-reveal-mode
212 "Toggle Reveal mode in all buffers (Global Reveal mode). 209 "Toggle Reveal mode in all buffers (Global Reveal mode).
213Reveal mode renders invisible text around point visible again. 210Reveal mode renders invisible text around point visible again."
214
215With a prefix argument ARG, enable Global Reveal mode if ARG is
216positive, and disable it otherwise. If called from Lisp, enable
217the mode if ARG is omitted or nil."
218 :global t :group 'reveal 211 :global t :group 'reveal
219 (setq-default reveal-mode global-reveal-mode) 212 (setq-default reveal-mode global-reveal-mode)
220 (if global-reveal-mode 213 (if global-reveal-mode
diff --git a/lisp/rfn-eshadow.el b/lisp/rfn-eshadow.el
index 847db68a776..41fd8b5f97d 100644
--- a/lisp/rfn-eshadow.el
+++ b/lisp/rfn-eshadow.el
@@ -209,9 +209,6 @@ been set up by `rfn-eshadow-setup-minibuffer'."
209 209
210(define-minor-mode file-name-shadow-mode 210(define-minor-mode file-name-shadow-mode
211 "Toggle file-name shadowing in minibuffers (File-Name Shadow mode). 211 "Toggle file-name shadowing in minibuffers (File-Name Shadow mode).
212With a prefix argument ARG, enable File-Name Shadow mode if ARG
213is positive, and disable it otherwise. If called from Lisp,
214enable the mode if ARG is omitted or nil.
215 212
216File-Name Shadow mode is a global minor mode. When enabled, any 213File-Name Shadow mode is a global minor mode. When enabled, any
217part of a filename being read in the minibuffer that would be 214part of a filename being read in the minibuffer that would be
diff --git a/lisp/ruler-mode.el b/lisp/ruler-mode.el
index 02d5a211ba7..366bd150413 100644
--- a/lisp/ruler-mode.el
+++ b/lisp/ruler-mode.el
@@ -591,10 +591,7 @@ format first."
591 591
592;;;###autoload 592;;;###autoload
593(define-minor-mode ruler-mode 593(define-minor-mode ruler-mode
594 "Toggle display of ruler in header line (Ruler mode). 594 "Toggle display of ruler in header line (Ruler mode)."
595With a prefix argument ARG, enable Ruler mode if ARG is positive,
596and disable it otherwise. If called from Lisp, enable the mode
597if ARG is omitted or nil."
598 nil nil 595 nil nil
599 ruler-mode-map 596 ruler-mode-map
600 :group 'ruler-mode 597 :group 'ruler-mode
diff --git a/lisp/savehist.el b/lisp/savehist.el
index 0a261b0b0ca..e555450c209 100644
--- a/lisp/savehist.el
+++ b/lisp/savehist.el
@@ -171,9 +171,6 @@ minibuffer history.")
171;;;###autoload 171;;;###autoload
172(define-minor-mode savehist-mode 172(define-minor-mode savehist-mode
173 "Toggle saving of minibuffer history (Savehist mode). 173 "Toggle saving of minibuffer history (Savehist mode).
174With a prefix argument ARG, enable Savehist mode if ARG is
175positive, and disable it otherwise. If called from Lisp, enable
176the mode if ARG is omitted or nil.
177 174
178When Savehist mode is enabled, minibuffer history is saved 175When Savehist mode is enabled, minibuffer history is saved
179periodically and when exiting Emacs. When Savehist mode is 176periodically and when exiting Emacs. When Savehist mode is
diff --git a/lisp/saveplace.el b/lisp/saveplace.el
index aeb6cf1de7a..9d3f10ac352 100644
--- a/lisp/saveplace.el
+++ b/lisp/saveplace.el
@@ -160,9 +160,6 @@ If this mode is enabled, point is recorded when you kill the buffer
160or exit Emacs. Visiting this file again will go to that position, 160or exit Emacs. Visiting this file again will go to that position,
161even in a later Emacs session. 161even in a later Emacs session.
162 162
163If called with a prefix arg, the mode is enabled if and only if
164the argument is positive.
165
166To save places automatically in all files, put this in your init 163To save places automatically in all files, put this in your init
167file: 164file:
168 165
diff --git a/lisp/scroll-all.el b/lisp/scroll-all.el
index dea15d58d85..c32960efba9 100644
--- a/lisp/scroll-all.el
+++ b/lisp/scroll-all.el
@@ -102,9 +102,6 @@
102;;;###autoload 102;;;###autoload
103(define-minor-mode scroll-all-mode 103(define-minor-mode scroll-all-mode
104 "Toggle shared scrolling in same-frame windows (Scroll-All mode). 104 "Toggle shared scrolling in same-frame windows (Scroll-All mode).
105With a prefix argument ARG, enable Scroll-All mode if ARG is
106positive, and disable it otherwise. If called from Lisp, enable
107the mode if ARG is omitted or nil.
108 105
109When Scroll-All mode is enabled, scrolling commands invoked in 106When Scroll-All mode is enabled, scrolling commands invoked in
110one window apply to all visible windows in the same frame." 107one window apply to all visible windows in the same frame."
diff --git a/lisp/scroll-bar.el b/lisp/scroll-bar.el
index dd4a8aab0e2..4d1ad03fa5f 100644
--- a/lisp/scroll-bar.el
+++ b/lisp/scroll-bar.el
@@ -133,9 +133,6 @@ Setting the variable with a customization buffer also takes effect."
133 133
134(define-minor-mode scroll-bar-mode 134(define-minor-mode scroll-bar-mode
135 "Toggle vertical scroll bars on all frames (Scroll Bar mode). 135 "Toggle vertical scroll bars on all frames (Scroll Bar mode).
136With a prefix argument ARG, enable Scroll Bar mode if ARG is
137positive, and disable it otherwise. If called from Lisp, enable
138the mode if ARG is omitted or nil.
139 136
140This command applies to all frames that exist and frames to be 137This command applies to all frames that exist and frames to be
141created in the future." 138created in the future."
@@ -152,9 +149,6 @@ created in the future."
152 149
153(define-minor-mode horizontal-scroll-bar-mode 150(define-minor-mode horizontal-scroll-bar-mode
154 "Toggle horizontal scroll bars on all frames (Horizontal Scroll Bar mode). 151 "Toggle horizontal scroll bars on all frames (Horizontal Scroll Bar mode).
155With a prefix argument ARG, enable Horizontal Scroll Bar mode if
156ARG is positive, and disable it otherwise. If called from Lisp,
157enable the mode if ARG is omitted or nil.
158 152
159This command applies to all frames that exist and frames to be 153This command applies to all frames that exist and frames to be
160created in the future." 154created in the future."
diff --git a/lisp/scroll-lock.el b/lisp/scroll-lock.el
index 2ce0f4578bf..123fbb2b37b 100644
--- a/lisp/scroll-lock.el
+++ b/lisp/scroll-lock.el
@@ -49,12 +49,11 @@
49;;;###autoload 49;;;###autoload
50(define-minor-mode scroll-lock-mode 50(define-minor-mode scroll-lock-mode
51 "Buffer-local minor mode for pager-like scrolling. 51 "Buffer-local minor mode for pager-like scrolling.
52With a prefix argument ARG, enable the mode if ARG is positive, 52
53and disable it otherwise. If called from Lisp, enable the mode 53When enabled, keys that normally move point by line or paragraph
54if ARG is omitted or nil. When enabled, keys that normally move 54will scroll the buffer by the respective amount of lines instead
55point by line or paragraph will scroll the buffer by the 55and point will be kept vertically fixed relative to window
56respective amount of lines instead and point will be kept 56boundaries during scrolling."
57vertically fixed relative to window boundaries during scrolling."
58 :lighter " ScrLck" 57 :lighter " ScrLck"
59 :keymap scroll-lock-mode-map 58 :keymap scroll-lock-mode-map
60 (if scroll-lock-mode 59 (if scroll-lock-mode
diff --git a/lisp/server.el b/lisp/server.el
index 87942e84191..77850e49da3 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -777,9 +777,6 @@ by the current Emacs process, use the `server-process' variable."
777;;;###autoload 777;;;###autoload
778(define-minor-mode server-mode 778(define-minor-mode server-mode
779 "Toggle Server mode. 779 "Toggle Server mode.
780With a prefix argument ARG, enable Server mode if ARG is
781positive, and disable it otherwise. If called from Lisp, enable
782Server mode if ARG is omitted or nil.
783 780
784Server mode runs a process that accepts commands from the 781Server mode runs a process that accepts commands from the
785`emacsclient' program. See Info node `Emacs server' and 782`emacsclient' program. See Info node `Emacs server' and
diff --git a/lisp/shell.el b/lisp/shell.el
index 91c65ed171e..c78903b3e5a 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -967,9 +967,6 @@ Environment variables are expanded, see function `substitute-in-file-name'."
967 967
968(define-minor-mode shell-dirtrack-mode 968(define-minor-mode shell-dirtrack-mode
969 "Toggle directory tracking in this shell buffer (Shell Dirtrack mode). 969 "Toggle directory tracking in this shell buffer (Shell Dirtrack mode).
970With a prefix argument ARG, enable Shell Dirtrack mode if ARG is
971positive, and disable it otherwise. If called from Lisp, enable
972the mode if ARG is omitted or nil.
973 970
974The `dirtrack' package provides an alternative implementation of 971The `dirtrack' package provides an alternative implementation of
975this feature; see the function `dirtrack-mode'." 972this feature; see the function `dirtrack-mode'."
diff --git a/lisp/simple.el b/lisp/simple.el
index f8c02c1dbfe..e98cea78d4f 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -401,9 +401,7 @@ select the source buffer."
401 401
402(define-minor-mode next-error-follow-minor-mode 402(define-minor-mode next-error-follow-minor-mode
403 "Minor mode for compilation, occur and diff modes. 403 "Minor mode for compilation, occur and diff modes.
404With a prefix argument ARG, enable mode if ARG is positive, and 404
405disable it otherwise. If called from Lisp, enable mode if ARG is
406omitted or nil.
407When turned on, cursor motion in the compilation, grep, occur or diff 405When turned on, cursor motion in the compilation, grep, occur or diff
408buffer causes automatic display of the corresponding source code location." 406buffer causes automatic display of the corresponding source code location."
409 :group 'next-error :init-value nil :lighter " Fol" 407 :group 'next-error :init-value nil :lighter " Fol"
@@ -5817,9 +5815,6 @@ its earlier value."
5817 5815
5818(define-minor-mode transient-mark-mode 5816(define-minor-mode transient-mark-mode
5819 "Toggle Transient Mark mode. 5817 "Toggle Transient Mark mode.
5820With a prefix argument ARG, enable Transient Mark mode if ARG is
5821positive, and disable it otherwise. If called from Lisp, enable
5822Transient Mark mode if ARG is omitted or nil.
5823 5818
5824Transient Mark mode is a global minor mode. When enabled, the 5819Transient Mark mode is a global minor mode. When enabled, the
5825region is highlighted with the `region' face whenever the mark 5820region is highlighted with the `region' face whenever the mark
@@ -6854,12 +6849,6 @@ other purposes."
6854 6849
6855(define-minor-mode visual-line-mode 6850(define-minor-mode visual-line-mode
6856 "Toggle visual line based editing (Visual Line mode) in the current buffer. 6851 "Toggle visual line based editing (Visual Line mode) in the current buffer.
6857Interactively, with a prefix argument, enable
6858Visual Line mode if the prefix argument is positive,
6859and disable it otherwise. If called from Lisp, toggle
6860the mode if ARG is `toggle', disable the mode if ARG is
6861a non-positive integer, and enable the mode otherwise
6862\(including if ARG is omitted or nil or a positive integer).
6863 6852
6864When Visual Line mode is enabled, `word-wrap' is turned on in 6853When Visual Line mode is enabled, `word-wrap' is turned on in
6865this buffer, and simple editing commands are redefined to act on 6854this buffer, and simple editing commands are redefined to act on
@@ -7290,12 +7279,6 @@ Some major modes set this.")
7290 7279
7291(define-minor-mode auto-fill-mode 7280(define-minor-mode auto-fill-mode
7292 "Toggle automatic line breaking (Auto Fill mode). 7281 "Toggle automatic line breaking (Auto Fill mode).
7293Interactively, with a prefix argument, enable
7294Auto Fill mode if the prefix argument is positive,
7295and disable it otherwise. If called from Lisp, toggle
7296the mode if ARG is `toggle', disable the mode if ARG is
7297a non-positive integer, and enable the mode otherwise
7298\(including if ARG is omitted or nil or a positive integer).
7299 7282
7300When Auto Fill mode is enabled, inserting a space at a column 7283When Auto Fill mode is enabled, inserting a space at a column
7301beyond `current-fill-column' automatically breaks the line at a 7284beyond `current-fill-column' automatically breaks the line at a
@@ -7410,9 +7393,6 @@ if long lines are truncated."
7410 7393
7411(define-minor-mode overwrite-mode 7394(define-minor-mode overwrite-mode
7412 "Toggle Overwrite mode. 7395 "Toggle Overwrite mode.
7413With a prefix argument ARG, enable Overwrite mode if ARG is
7414positive, and disable it otherwise. If called from Lisp, enable
7415the mode if ARG is omitted or nil.
7416 7396
7417When Overwrite mode is enabled, printing characters typed in 7397When Overwrite mode is enabled, printing characters typed in
7418replace existing text on a one-for-one basis, rather than pushing 7398replace existing text on a one-for-one basis, rather than pushing
@@ -7426,9 +7406,6 @@ characters when necessary."
7426 7406
7427(define-minor-mode binary-overwrite-mode 7407(define-minor-mode binary-overwrite-mode
7428 "Toggle Binary Overwrite mode. 7408 "Toggle Binary Overwrite mode.
7429With a prefix argument ARG, enable Binary Overwrite mode if ARG
7430is positive, and disable it otherwise. If called from Lisp,
7431enable the mode if ARG is omitted or nil.
7432 7409
7433When Binary Overwrite mode is enabled, printing characters typed 7410When Binary Overwrite mode is enabled, printing characters typed
7434in replace existing text. Newlines are not treated specially, so 7411in replace existing text. Newlines are not treated specially, so
@@ -7446,9 +7423,6 @@ a specialization of overwrite mode, entered by setting the
7446 7423
7447(define-minor-mode line-number-mode 7424(define-minor-mode line-number-mode
7448 "Toggle line number display in the mode line (Line Number mode). 7425 "Toggle line number display in the mode line (Line Number mode).
7449With a prefix argument ARG, enable Line Number mode if ARG is
7450positive, and disable it otherwise. If called from Lisp, enable
7451the mode if ARG is omitted or nil.
7452 7426
7453Line numbers do not appear for very large buffers and buffers 7427Line numbers do not appear for very large buffers and buffers
7454with very long lines; see variables `line-number-display-limit' 7428with very long lines; see variables `line-number-display-limit'
@@ -7456,27 +7430,15 @@ and `line-number-display-limit-width'."
7456 :init-value t :global t :group 'mode-line) 7430 :init-value t :global t :group 'mode-line)
7457 7431
7458(define-minor-mode column-number-mode 7432(define-minor-mode column-number-mode
7459 "Toggle column number display in the mode line (Column Number mode). 7433 "Toggle column number display in the mode line (Column Number mode)."
7460With a prefix argument ARG, enable Column Number mode if ARG is
7461positive, and disable it otherwise.
7462
7463If called from Lisp, enable the mode if ARG is omitted or nil."
7464 :global t :group 'mode-line) 7434 :global t :group 'mode-line)
7465 7435
7466(define-minor-mode size-indication-mode 7436(define-minor-mode size-indication-mode
7467 "Toggle buffer size display in the mode line (Size Indication mode). 7437 "Toggle buffer size display in the mode line (Size Indication mode)."
7468With a prefix argument ARG, enable Size Indication mode if ARG is
7469positive, and disable it otherwise.
7470
7471If called from Lisp, enable the mode if ARG is omitted or nil."
7472 :global t :group 'mode-line) 7438 :global t :group 'mode-line)
7473 7439
7474(define-minor-mode auto-save-mode 7440(define-minor-mode auto-save-mode
7475 "Toggle auto-saving in the current buffer (Auto Save mode). 7441 "Toggle auto-saving in the current buffer (Auto Save mode)."
7476With a prefix argument ARG, enable Auto Save mode if ARG is
7477positive, and disable it otherwise.
7478
7479If called from Lisp, enable the mode if ARG is omitted or nil."
7480 :variable ((and buffer-auto-save-file-name 7442 :variable ((and buffer-auto-save-file-name
7481 ;; If auto-save is off because buffer has shrunk, 7443 ;; If auto-save is off because buffer has shrunk,
7482 ;; then toggling should turn it on. 7444 ;; then toggling should turn it on.
@@ -8687,9 +8649,6 @@ call `normal-erase-is-backspace-mode' (which see) instead."
8687 8649
8688(define-minor-mode normal-erase-is-backspace-mode 8650(define-minor-mode normal-erase-is-backspace-mode
8689 "Toggle the Erase and Delete mode of the Backspace and Delete keys. 8651 "Toggle the Erase and Delete mode of the Backspace and Delete keys.
8690With a prefix argument ARG, enable this feature if ARG is
8691positive, and disable it otherwise. If called from Lisp, enable
8692the mode if ARG is omitted or nil.
8693 8652
8694On window systems, when this mode is on, Delete is mapped to C-d 8653On window systems, when this mode is on, Delete is mapped to C-d
8695and Backspace is mapped to DEL; when this mode is off, both 8654and Backspace is mapped to DEL; when this mode is off, both
@@ -8766,9 +8725,9 @@ See also `normal-erase-is-backspace'."
8766 8725
8767(define-minor-mode read-only-mode 8726(define-minor-mode read-only-mode
8768 "Change whether the current buffer is read-only. 8727 "Change whether the current buffer is read-only.
8769With prefix argument ARG, make the buffer read-only if ARG is 8728
8770positive, otherwise make it writable. If buffer is read-only 8729If buffer is read-only and `view-read-only' is non-nil, enter
8771and `view-read-only' is non-nil, enter view mode. 8730view mode.
8772 8731
8773Do not call this from a Lisp program unless you really intend to 8732Do not call this from a Lisp program unless you really intend to
8774do the same thing as the \\[read-only-mode] command, including 8733do the same thing as the \\[read-only-mode] command, including
@@ -8792,9 +8751,6 @@ to a non-nil value."
8792 8751
8793(define-minor-mode visible-mode 8752(define-minor-mode visible-mode
8794 "Toggle making all invisible text temporarily visible (Visible mode). 8753 "Toggle making all invisible text temporarily visible (Visible mode).
8795With a prefix argument ARG, enable Visible mode if ARG is
8796positive, and disable it otherwise. If called from Lisp, enable
8797the mode if ARG is omitted or nil.
8798 8754
8799This mode works by saving the value of `buffer-invisibility-spec' 8755This mode works by saving the value of `buffer-invisibility-spec'
8800and setting it to nil." 8756and setting it to nil."
diff --git a/lisp/strokes.el b/lisp/strokes.el
index 6ffcff73c2f..d5c287c3419 100644
--- a/lisp/strokes.el
+++ b/lisp/strokes.el
@@ -1388,9 +1388,6 @@ If STROKES-MAP is not given, `strokes-global-map' will be used instead."
1388;;;###autoload 1388;;;###autoload
1389(define-minor-mode strokes-mode 1389(define-minor-mode strokes-mode
1390 "Toggle Strokes mode, a global minor mode. 1390 "Toggle Strokes mode, a global minor mode.
1391With a prefix argument ARG, enable Strokes mode if ARG is
1392positive, and disable it otherwise. If called from Lisp,
1393enable the mode if ARG is omitted or nil.
1394 1391
1395\\<strokes-mode-map> 1392\\<strokes-mode-map>
1396Strokes are pictographic mouse gestures which invoke commands. 1393Strokes are pictographic mouse gestures which invoke commands.
diff --git a/lisp/t-mouse.el b/lisp/t-mouse.el
index 8a816fd4441..3ad719d1932 100644
--- a/lisp/t-mouse.el
+++ b/lisp/t-mouse.el
@@ -67,9 +67,6 @@
67;;;###autoload 67;;;###autoload
68(define-minor-mode gpm-mouse-mode 68(define-minor-mode gpm-mouse-mode
69 "Toggle mouse support in GNU/Linux consoles (GPM Mouse mode). 69 "Toggle mouse support in GNU/Linux consoles (GPM Mouse mode).
70With a prefix argument ARG, enable GPM Mouse mode if ARG is
71positive, and disable it otherwise. If called from Lisp, enable
72the mode if ARG is omitted or nil.
73 70
74This allows the use of the mouse when operating on a GNU/Linux console, 71This allows the use of the mouse when operating on a GNU/Linux console,
75in the same way as you can use the mouse under X11. 72in the same way as you can use the mouse under X11.
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index f7b14fab516..9860c8b30cf 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -762,12 +762,10 @@ See also: variables `tar-update-datestamp' and `tar-anal-blocksize'.
762 762
763(define-minor-mode tar-subfile-mode 763(define-minor-mode tar-subfile-mode
764 "Minor mode for editing an element of a tar-file. 764 "Minor mode for editing an element of a tar-file.
765With a prefix argument ARG, enable the mode if ARG is positive, 765
766and disable it otherwise. If called from Lisp, enable the mode 766This mode arranges for \"saving\" this buffer to write the data
767if ARG is omitted or nil. This mode arranges for \"saving\" this 767into the tar-file buffer that it came from. The changes will
768buffer to write the data into the tar-file buffer that it came 768actually appear on disk when you save the tar-file's buffer."
769from. The changes will actually appear on disk when you save the
770tar-file's buffer."
771 ;; Don't do this, because it is redundant and wastes mode line space. 769 ;; Don't do this, because it is redundant and wastes mode line space.
772 ;; :lighter " TarFile" 770 ;; :lighter " TarFile"
773 nil nil nil 771 nil nil nil
diff --git a/lisp/term/tvi970.el b/lisp/term/tvi970.el
index 97687894ec6..0c4b0ae73b6 100644
--- a/lisp/term/tvi970.el
+++ b/lisp/term/tvi970.el
@@ -101,9 +101,6 @@
101;; Should keypad numbers send ordinary digits or distinct escape sequences? 101;; Should keypad numbers send ordinary digits or distinct escape sequences?
102(define-minor-mode tvi970-set-keypad-mode 102(define-minor-mode tvi970-set-keypad-mode
103 "Toggle alternate keypad mode on TVI 970 keypad. 103 "Toggle alternate keypad mode on TVI 970 keypad.
104With a prefix argument ARG, enable the mode if ARG is positive,
105and disable it otherwise. If called from Lisp, enable the mode
106if ARG is omitted or nil.
107 104
108In alternate keypad mode, the keys send distinct escape 105In alternate keypad mode, the keys send distinct escape
109sequences, meaning that they can have their own bindings, 106sequences, meaning that they can have their own bindings,
diff --git a/lisp/term/vt100.el b/lisp/term/vt100.el
index d40c550aff4..b61e557e2f8 100644
--- a/lisp/term/vt100.el
+++ b/lisp/term/vt100.el
@@ -39,10 +39,7 @@
39 39
40;;; Controlling the screen width. 40;;; Controlling the screen width.
41(define-minor-mode vt100-wide-mode 41(define-minor-mode vt100-wide-mode
42 "Toggle 132/80 column mode for vt100s. 42 "Toggle 132/80 column mode for vt100s."
43With a prefix argument ARG, switch to 132-column mode if ARG is
44positive, and 80-column mode otherwise. If called from Lisp,
45switch to 132-column mode if ARG is omitted or nil."
46 :global t :init-value (= (frame-width) 132) 43 :global t :init-value (= (frame-width) 132)
47 :group 'terminals 44 :group 'terminals
48 (send-string-to-terminal (if vt100-wide-mode "\e[?3h" "\e[?3l")) 45 (send-string-to-terminal (if vt100-wide-mode "\e[?3h" "\e[?3l"))
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index 61ca0856bc9..940a78ae92d 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -1198,7 +1198,7 @@ PREV-OP-ARG are used when invoked recursively during the build-up."
1198;;;###autoload 1198;;;###autoload
1199(define-minor-mode artist-mode 1199(define-minor-mode artist-mode
1200 "Toggle Artist mode. 1200 "Toggle Artist mode.
1201With argument ARG, turn Artist mode on if ARG is positive. 1201
1202Artist lets you draw lines, squares, rectangles and poly-lines, 1202Artist lets you draw lines, squares, rectangles and poly-lines,
1203ellipses and circles with your mouse and/or keyboard. 1203ellipses and circles with your mouse and/or keyboard.
1204 1204
diff --git a/lisp/textmodes/enriched.el b/lisp/textmodes/enriched.el
index 6b4c44a39e7..f2065cbff90 100644
--- a/lisp/textmodes/enriched.el
+++ b/lisp/textmodes/enriched.el
@@ -210,10 +210,6 @@ The value is a list of \(VAR VALUE VAR VALUE...).")
210These are files with embedded formatting information in the MIME standard 210These are files with embedded formatting information in the MIME standard
211text/enriched format. 211text/enriched format.
212 212
213With a prefix argument ARG, enable the mode if ARG is positive,
214and disable it otherwise. If called from Lisp, enable the mode
215if ARG is omitted or nil.
216
217Turning the mode on or off runs `enriched-mode-hook'. 213Turning the mode on or off runs `enriched-mode-hook'.
218 214
219More information about Enriched mode is available in the file 215More information about Enriched mode is available in the file
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index 9747f8e2ebf..8ad6832880a 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -505,9 +505,6 @@ See also `flyspell-duplicate-distance'."
505;;;###autoload 505;;;###autoload
506(define-minor-mode flyspell-mode 506(define-minor-mode flyspell-mode
507 "Toggle on-the-fly spell checking (Flyspell mode). 507 "Toggle on-the-fly spell checking (Flyspell mode).
508With a prefix argument ARG, enable Flyspell mode if ARG is
509positive, and disable it otherwise. If called from Lisp, enable
510the mode if ARG is omitted or nil.
511 508
512Flyspell mode is a buffer-local minor mode. When enabled, it 509Flyspell mode is a buffer-local minor mode. When enabled, it
513spawns a single Ispell process and checks each word. The default 510spawns a single Ispell process and checks each word. The default
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index d1d47718f9d..d80447e0a5b 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -3695,9 +3695,6 @@ available on the net."
3695;;;###autoload 3695;;;###autoload
3696(define-minor-mode ispell-minor-mode 3696(define-minor-mode ispell-minor-mode
3697 "Toggle last-word spell checking (Ispell minor mode). 3697 "Toggle last-word spell checking (Ispell minor mode).
3698With a prefix argument ARG, enable Ispell minor mode if ARG is
3699positive, and disable it otherwise. If called from Lisp, enable
3700the mode if ARG is omitted or nil.
3701 3698
3702Ispell minor mode is a buffer-local minor mode. When enabled, 3699Ispell minor mode is a buffer-local minor mode. When enabled,
3703typing SPC or RET warns you if the previous word is incorrectly 3700typing SPC or RET warns you if the previous word is incorrectly
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el
index 6955ed25e18..51a9f5820d8 100644
--- a/lisp/textmodes/nroff-mode.el
+++ b/lisp/textmodes/nroff-mode.el
@@ -298,9 +298,6 @@ automatically inserts the matching closing request after point."
298 298
299(define-minor-mode nroff-electric-mode 299(define-minor-mode nroff-electric-mode
300 "Toggle automatic nroff request pairing (Nroff Electric mode). 300 "Toggle automatic nroff request pairing (Nroff Electric mode).
301With a prefix argument ARG, enable Nroff Electric mode if ARG is
302positive, and disable it otherwise. If called from Lisp, enable
303the mode if ARG is omitted or nil.
304 301
305Nroff Electric mode is a buffer-local minor mode, for use with 302Nroff Electric mode is a buffer-local minor mode, for use with
306`nroff-mode'. When enabled, Emacs checks for an nroff request at 303`nroff-mode'. When enabled, Emacs checks for an nroff request at
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index 3e2784ca953..ee812566b9a 100644
--- a/lisp/textmodes/paragraphs.el
+++ b/lisp/textmodes/paragraphs.el
@@ -36,9 +36,6 @@
36(put 'use-hard-newlines 'permanent-local t) 36(put 'use-hard-newlines 'permanent-local t)
37(define-minor-mode use-hard-newlines 37(define-minor-mode use-hard-newlines
38 "Toggle distinguishing between hard and soft newlines. 38 "Toggle distinguishing between hard and soft newlines.
39With a prefix argument ARG, enable the feature if ARG is
40positive, and disable it otherwise. If called from Lisp, enable
41it if ARG is omitted or nil.
42 39
43When enabled, the functions `newline' and `open-line' add the 40When enabled, the functions `newline' and `open-line' add the
44text-property `hard' to newlines that they insert, and a line is 41text-property `hard' to newlines that they insert, and a line is
diff --git a/lisp/textmodes/refill.el b/lisp/textmodes/refill.el
index 1252afe4172..229d6a24ddd 100644
--- a/lisp/textmodes/refill.el
+++ b/lisp/textmodes/refill.el
@@ -213,9 +213,6 @@ complex processing.")
213;;;###autoload 213;;;###autoload
214(define-minor-mode refill-mode 214(define-minor-mode refill-mode
215 "Toggle automatic refilling (Refill mode). 215 "Toggle automatic refilling (Refill mode).
216With a prefix argument ARG, enable Refill mode if ARG is
217positive, and disable it otherwise. If called from Lisp, enable
218the mode if ARG is omitted or nil.
219 216
220Refill mode is a buffer-local minor mode. When enabled, the 217Refill mode is a buffer-local minor mode. When enabled, the
221current paragraph is refilled as you edit. Self-inserting 218current paragraph is refilled as you edit. Self-inserting
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el
index 40d75a9db84..126804fdab2 100644
--- a/lisp/textmodes/rst.el
+++ b/lisp/textmodes/rst.el
@@ -1411,9 +1411,6 @@ highlighting.
1411;;;###autoload 1411;;;###autoload
1412(define-minor-mode rst-minor-mode 1412(define-minor-mode rst-minor-mode
1413 "Toggle ReST minor mode. 1413 "Toggle ReST minor mode.
1414With a prefix argument ARG, enable ReST minor mode if ARG is
1415positive, and disable it otherwise. If called from Lisp, enable
1416the mode if ARG is omitted or nil.
1417 1414
1418When ReST minor mode is enabled, the ReST mode keybindings 1415When ReST minor mode is enabled, the ReST mode keybindings
1419are installed on top of the major mode bindings. Use this 1416are installed on top of the major mode bindings. Use this
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 30ca11199d4..470f4a348ac 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -941,9 +941,6 @@ Return non-nil if we skipped over matched tags."
941 941
942(define-minor-mode sgml-electric-tag-pair-mode 942(define-minor-mode sgml-electric-tag-pair-mode
943 "Toggle SGML Electric Tag Pair mode. 943 "Toggle SGML Electric Tag Pair mode.
944With a prefix argument ARG, enable the mode if ARG is positive,
945and disable it otherwise. If called from Lisp, enable the mode
946if ARG is omitted or nil.
947 944
948SGML Electric Tag Pair mode is a buffer-local minor mode for use 945SGML Electric Tag Pair mode is a buffer-local minor mode for use
949with `sgml-mode' and related major modes. When enabled, editing 946with `sgml-mode' and related major modes. When enabled, editing
@@ -2379,9 +2376,6 @@ The third `match-string' will be the used in the menu.")
2379 2376
2380(define-minor-mode html-autoview-mode 2377(define-minor-mode html-autoview-mode
2381 "Toggle viewing of HTML files on save (HTML Autoview mode). 2378 "Toggle viewing of HTML files on save (HTML Autoview mode).
2382With a prefix argument ARG, enable HTML Autoview mode if ARG is
2383positive, and disable it otherwise. If called from Lisp, enable
2384the mode if ARG is omitted or nil.
2385 2379
2386HTML Autoview mode is a buffer-local minor mode for use with 2380HTML Autoview mode is a buffer-local minor mode for use with
2387`html-mode'. If enabled, saving the file automatically runs 2381`html-mode'. If enabled, saving the file automatically runs
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index c65b3b3ea2d..c223af47697 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -713,9 +713,6 @@ An alternative value is \" . \", if you use a font with a narrow period."
713 713
714(define-minor-mode latex-electric-env-pair-mode 714(define-minor-mode latex-electric-env-pair-mode
715 "Toggle Latex Electric Env Pair mode. 715 "Toggle Latex Electric Env Pair mode.
716With a prefix argument ARG, enable the mode if ARG is positive,
717and disable it otherwise. If called from Lisp, enable it if ARG
718is omitted or nil.
719 716
720Latex Electric Env Pair mode is a buffer-local minor mode for use 717Latex Electric Env Pair mode is a buffer-local minor mode for use
721with `latex-mode'. When enabled, typing a \\begin or \\end tag 718with `latex-mode'. When enabled, typing a \\begin or \\end tag
diff --git a/lisp/time.el b/lisp/time.el
index ab6b5b96328..94f7009953b 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -488,9 +488,6 @@ update which can wait for the next redisplay."
488;;;###autoload 488;;;###autoload
489(define-minor-mode display-time-mode 489(define-minor-mode display-time-mode
490 "Toggle display of time, load level, and mail flag in mode lines. 490 "Toggle display of time, load level, and mail flag in mode lines.
491With a prefix argument ARG, enable Display Time mode if ARG is
492positive, and disable it otherwise. If called from Lisp, enable
493it if ARG is omitted or nil.
494 491
495When Display Time mode is enabled, it updates every minute (you 492When Display Time mode is enabled, it updates every minute (you
496can control the number of seconds between updates by customizing 493can control the number of seconds between updates by customizing
diff --git a/lisp/tool-bar.el b/lisp/tool-bar.el
index 18f54dbac60..e2242cf6f7e 100644
--- a/lisp/tool-bar.el
+++ b/lisp/tool-bar.el
@@ -44,9 +44,6 @@
44;; when you are on a tty. I hope that won't cause too much trouble -- rms. 44;; when you are on a tty. I hope that won't cause too much trouble -- rms.
45(define-minor-mode tool-bar-mode 45(define-minor-mode tool-bar-mode
46 "Toggle the tool bar in all graphical frames (Tool Bar mode). 46 "Toggle the tool bar in all graphical frames (Tool Bar mode).
47With a prefix argument ARG, enable Tool Bar mode if ARG is
48positive, and disable it otherwise. If called from Lisp, enable
49Tool Bar mode if ARG is omitted or nil.
50 47
51See `tool-bar-add-item' and `tool-bar-add-item-from-menu' for 48See `tool-bar-add-item' and `tool-bar-add-item-from-menu' for
52conveniently adding tool bar items." 49conveniently adding tool bar items."
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index 81df229a132..384d3d19db3 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -42,9 +42,6 @@
42 42
43(define-minor-mode tooltip-mode 43(define-minor-mode tooltip-mode
44 "Toggle Tooltip mode. 44 "Toggle Tooltip mode.
45With a prefix argument ARG, enable Tooltip mode if ARG is positive,
46and disable it otherwise. If called from Lisp, enable the mode
47if ARG is omitted or nil.
48 45
49When this global minor mode is enabled, Emacs displays help 46When this global minor mode is enabled, Emacs displays help
50text (e.g. for buttons and menu items that you put the mouse on) 47text (e.g. for buttons and menu items that you put the mouse on)
diff --git a/lisp/type-break.el b/lisp/type-break.el
index 98947bac272..c7cdc460369 100644
--- a/lisp/type-break.el
+++ b/lisp/type-break.el
@@ -287,9 +287,6 @@ again in a short period of time. The idea is to give the user enough time
287to find a good breaking point in his or her work, but be sufficiently 287to find a good breaking point in his or her work, but be sufficiently
288annoying to discourage putting typing breaks off indefinitely. 288annoying to discourage putting typing breaks off indefinitely.
289 289
290A negative prefix argument disables this mode.
291No argument or any non-negative argument enables it.
292
293The user may enable or disable this mode by setting the variable of the 290The user may enable or disable this mode by setting the variable of the
294same name, though setting it in that way doesn't reschedule a break or 291same name, though setting it in that way doesn't reschedule a break or
295reset the keystroke counter. 292reset the keystroke counter.
@@ -406,9 +403,6 @@ problems."
406 403
407(define-minor-mode type-break-mode-line-message-mode 404(define-minor-mode type-break-mode-line-message-mode
408 "Toggle warnings about typing breaks in the mode line. 405 "Toggle warnings about typing breaks in the mode line.
409With a prefix argument ARG, enable these warnings if ARG is
410positive, and disable them otherwise. If called from Lisp,
411enable them if ARG is omitted or nil.
412 406
413The user may also enable or disable this mode simply by setting 407The user may also enable or disable this mode simply by setting
414the variable of the same name. 408the variable of the same name.
@@ -423,9 +417,6 @@ Variables controlling the display of messages in the mode line include:
423 417
424(define-minor-mode type-break-query-mode 418(define-minor-mode type-break-query-mode
425 "Toggle typing break queries. 419 "Toggle typing break queries.
426With a prefix argument ARG, enable these queries if ARG is
427positive, and disable them otherwise. If called from Lisp,
428enable them if ARG is omitted or nil.
429 420
430The user may also enable or disable this mode simply by setting 421The user may also enable or disable this mode simply by setting
431the variable of the same name." 422the variable of the same name."
diff --git a/lisp/url/url-dired.el b/lisp/url/url-dired.el
index 784f70eb1f3..50d84f71ccd 100644
--- a/lisp/url/url-dired.el
+++ b/lisp/url/url-dired.el
@@ -43,10 +43,7 @@
43 (url-dired-find-file)) 43 (url-dired-find-file))
44 44
45(define-minor-mode url-dired-minor-mode 45(define-minor-mode url-dired-minor-mode
46 "Minor mode for directory browsing. 46 "Minor mode for directory browsing."
47With a prefix argument ARG, enable the mode if ARG is positive,
48and disable it otherwise. If called from Lisp, enable the mode
49if ARG is omitted or nil."
50 :lighter " URL" :keymap url-dired-minor-mode-map) 47 :lighter " URL" :keymap url-dired-minor-mode-map)
51 48
52(defun url-find-file-dired (dir) 49(defun url-find-file-dired (dir)
diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el
index 98f9f1e3739..3802c39b785 100644
--- a/lisp/url/url-handlers.el
+++ b/lisp/url/url-handlers.el
@@ -102,10 +102,7 @@
102 102
103;;;###autoload 103;;;###autoload
104(define-minor-mode url-handler-mode 104(define-minor-mode url-handler-mode
105 "Toggle using `url' library for URL filenames (URL Handler mode). 105 "Toggle using `url' library for URL filenames (URL Handler mode)."
106With a prefix argument ARG, enable URL Handler mode if ARG is
107positive, and disable it otherwise. If called from Lisp, enable
108the mode if ARG is omitted or nil."
109 :global t :group 'url 106 :global t :group 'url
110 ;; Remove old entry, if any. 107 ;; Remove old entry, if any.
111 (setq file-name-handler-alist 108 (setq file-name-handler-alist
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index 1e2fbb97fcf..e88ccece415 100644
--- a/lisp/vc/diff-mode.el
+++ b/lisp/vc/diff-mode.el
@@ -216,9 +216,6 @@ when editing big diffs)."
216 216
217(define-minor-mode diff-auto-refine-mode 217(define-minor-mode diff-auto-refine-mode
218 "Toggle automatic diff hunk highlighting (Diff Auto Refine mode). 218 "Toggle automatic diff hunk highlighting (Diff Auto Refine mode).
219With a prefix argument ARG, enable Diff Auto Refine mode if ARG
220is positive, and disable it otherwise. If called from Lisp,
221enable the mode if ARG is omitted or nil.
222 219
223Diff Auto Refine mode is a buffer-local minor mode used with 220Diff Auto Refine mode is a buffer-local minor mode used with
224`diff-mode'. When enabled, Emacs automatically highlights 221`diff-mode'. When enabled, Emacs automatically highlights
@@ -1424,9 +1421,6 @@ a diff with \\[diff-reverse-direction].
1424;;;###autoload 1421;;;###autoload
1425(define-minor-mode diff-minor-mode 1422(define-minor-mode diff-minor-mode
1426 "Toggle Diff minor mode. 1423 "Toggle Diff minor mode.
1427With a prefix argument ARG, enable Diff minor mode if ARG is
1428positive, and disable it otherwise. If called from Lisp, enable
1429the mode if ARG is omitted or nil.
1430 1424
1431\\{diff-minor-mode-map}" 1425\\{diff-minor-mode-map}"
1432 :group 'diff-mode :lighter " Diff" 1426 :group 'diff-mode :lighter " Diff"
diff --git a/lisp/vc/smerge-mode.el b/lisp/vc/smerge-mode.el
index 99a074cf258..cb51fbab8eb 100644
--- a/lisp/vc/smerge-mode.el
+++ b/lisp/vc/smerge-mode.el
@@ -1398,9 +1398,7 @@ with a \\[universal-argument] prefix, makes up a 3-way conflict."
1398;;;###autoload 1398;;;###autoload
1399(define-minor-mode smerge-mode 1399(define-minor-mode smerge-mode
1400 "Minor mode to simplify editing output from the diff3 program. 1400 "Minor mode to simplify editing output from the diff3 program.
1401With a prefix argument ARG, enable the mode if ARG is positive, 1401
1402and disable it otherwise. If called from Lisp, enable the mode
1403if ARG is omitted or nil.
1404\\{smerge-mode-map}" 1402\\{smerge-mode-map}"
1405 :group 'smerge :lighter " SMerge" 1403 :group 'smerge :lighter " SMerge"
1406 (when (and (boundp 'font-lock-mode) font-lock-mode) 1404 (when (and (boundp 'font-lock-mode) font-lock-mode)
diff --git a/lisp/vcursor.el b/lisp/vcursor.el
index 89743304526..ce7a895a62c 100644
--- a/lisp/vcursor.el
+++ b/lisp/vcursor.el
@@ -815,8 +815,7 @@ out how much to copy."
815 815
816(define-minor-mode vcursor-use-vcursor-map 816(define-minor-mode vcursor-use-vcursor-map
817 "Toggle the state of the vcursor key map. 817 "Toggle the state of the vcursor key map.
818With a prefix argument ARG, enable it if ARG is positive, and disable 818
819it otherwise. If called from Lisp, enable it if ARG is omitted or nil.
820When on, the keys defined in it are mapped directly on top of the main 819When on, the keys defined in it are mapped directly on top of the main
821keymap, allowing you to move the vcursor with ordinary motion keys. 820keymap, allowing you to move the vcursor with ordinary motion keys.
822An indication \"!VC\" appears in the mode list. The effect is 821An indication \"!VC\" appears in the mode list. The effect is
diff --git a/lisp/view.el b/lisp/view.el
index cc328680e2e..56f98a6db23 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -381,9 +381,6 @@ own View-like bindings."
381 ;; bindings instead of using the \\[] construction. The reason for this 381 ;; bindings instead of using the \\[] construction. The reason for this
382 ;; is that most commands have more than one key binding. 382 ;; is that most commands have more than one key binding.
383 "Toggle View mode, a minor mode for viewing text but not editing it. 383 "Toggle View mode, a minor mode for viewing text but not editing it.
384With a prefix argument ARG, enable View mode if ARG is positive,
385and disable it otherwise. If called from Lisp, enable View mode
386if ARG is omitted or nil.
387 384
388When View mode is enabled, commands that do not change the buffer 385When View mode is enabled, commands that do not change the buffer
389contents are available as usual. Kill commands insert text in 386contents are available as usual. Kill commands insert text in
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index c2827d3d518..d8249316e4b 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -924,11 +924,6 @@ Any other value is treated as nil."
924;;;###autoload 924;;;###autoload
925(define-minor-mode whitespace-mode 925(define-minor-mode whitespace-mode
926 "Toggle whitespace visualization (Whitespace mode). 926 "Toggle whitespace visualization (Whitespace mode).
927With a prefix argument ARG, enable Whitespace mode if ARG is
928positive, and disable it otherwise.
929
930If called from Lisp, also enables the mode if ARG is omitted or nil,
931and toggles it if ARG is `toggle'.
932 927
933See also `whitespace-style', `whitespace-newline' and 928See also `whitespace-style', `whitespace-newline' and
934`whitespace-display-mappings'." 929`whitespace-display-mappings'."
@@ -949,11 +944,6 @@ See also `whitespace-style', `whitespace-newline' and
949;;;###autoload 944;;;###autoload
950(define-minor-mode whitespace-newline-mode 945(define-minor-mode whitespace-newline-mode
951 "Toggle newline visualization (Whitespace Newline mode). 946 "Toggle newline visualization (Whitespace Newline mode).
952With a prefix argument ARG, enable Whitespace Newline mode if ARG
953is positive, and disable it otherwise.
954
955If called from Lisp, also enables the mode if ARG is omitted or nil,
956and toggles it if ARG is `toggle'.
957 947
958Use `whitespace-newline-mode' only for NEWLINE visualization 948Use `whitespace-newline-mode' only for NEWLINE visualization
959exclusively. For other visualizations, including NEWLINE 949exclusively. For other visualizations, including NEWLINE
@@ -979,11 +969,6 @@ See also `whitespace-newline' and `whitespace-display-mappings'."
979;;;###autoload 969;;;###autoload
980(define-minor-mode global-whitespace-mode 970(define-minor-mode global-whitespace-mode
981 "Toggle whitespace visualization globally (Global Whitespace mode). 971 "Toggle whitespace visualization globally (Global Whitespace mode).
982With a prefix argument ARG, enable Global Whitespace mode if ARG
983is positive, and disable it otherwise.
984
985If called from Lisp, also enables the mode if ARG is omitted or nil,
986and toggles it if ARG is `toggle'.
987 972
988See also `whitespace-style', `whitespace-newline' and 973See also `whitespace-style', `whitespace-newline' and
989`whitespace-display-mappings'." 974`whitespace-display-mappings'."
@@ -1040,11 +1025,6 @@ This variable is normally modified via `add-function'.")
1040;;;###autoload 1025;;;###autoload
1041(define-minor-mode global-whitespace-newline-mode 1026(define-minor-mode global-whitespace-newline-mode
1042 "Toggle global newline visualization (Global Whitespace Newline mode). 1027 "Toggle global newline visualization (Global Whitespace Newline mode).
1043With a prefix argument ARG, enable Global Whitespace Newline mode
1044if ARG is positive, and disable it otherwise.
1045
1046If called from Lisp, also enables the mode if ARG is omitted or nil,
1047and toggles it if ARG is `toggle'.
1048 1028
1049Use `global-whitespace-newline-mode' only for NEWLINE 1029Use `global-whitespace-newline-mode' only for NEWLINE
1050visualization exclusively. For other visualizations, including 1030visualization exclusively. For other visualizations, including
diff --git a/lisp/wid-browse.el b/lisp/wid-browse.el
index db2be0cc905..d86e9cd2e27 100644
--- a/lisp/wid-browse.el
+++ b/lisp/wid-browse.el
@@ -269,10 +269,7 @@ VALUE is assumed to be a list of widgets."
269 269
270;;;###autoload 270;;;###autoload
271(define-minor-mode widget-minor-mode 271(define-minor-mode widget-minor-mode
272 "Minor mode for traversing widgets. 272 "Minor mode for traversing widgets."
273With a prefix argument ARG, enable the mode if ARG is positive,
274and disable it otherwise. If called from Lisp, enable the mode
275if ARG is omitted or nil."
276 :lighter " Widget") 273 :lighter " Widget")
277 274
278;;; The End: 275;;; The End:
diff --git a/lisp/winner.el b/lisp/winner.el
index 72b90b0e43c..5e13a378a71 100644
--- a/lisp/winner.el
+++ b/lisp/winner.el
@@ -351,9 +351,6 @@ You may want to include buffer names such as *Help*, *Apropos*,
351;;;###autoload 351;;;###autoload
352(define-minor-mode winner-mode 352(define-minor-mode winner-mode
353 "Toggle Winner mode on or off. 353 "Toggle Winner mode on or off.
354With a prefix argument ARG, enable Winner mode if ARG is
355positive, and disable it otherwise. If called from Lisp, enable
356the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'.
357 354
358Winner mode is a global minor mode that records the changes in 355Winner mode is a global minor mode that records the changes in
359the window configuration (i.e. how the frames are partitioned 356the window configuration (i.e. how the frames are partitioned
diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el
index 8fb65d5bfa7..da4af32e5e9 100644
--- a/lisp/xt-mouse.el
+++ b/lisp/xt-mouse.el
@@ -312,9 +312,6 @@ which is the \"1006\" extension implemented in Xterm >= 277."
312;;;###autoload 312;;;###autoload
313(define-minor-mode xterm-mouse-mode 313(define-minor-mode xterm-mouse-mode
314 "Toggle XTerm mouse mode. 314 "Toggle XTerm mouse mode.
315With a prefix argument ARG, enable XTerm mouse mode if ARG is
316positive, and disable it otherwise. If called from Lisp, enable
317the mode if ARG is omitted or nil.
318 315
319Turn it on to use Emacs mouse commands, and off to use xterm mouse commands. 316Turn it on to use Emacs mouse commands, and off to use xterm mouse commands.
320This works in terminal emulators compatible with xterm. It only 317This works in terminal emulators compatible with xterm. It only