diff options
| author | John Shahid | 2018-07-01 23:34:53 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2018-07-01 23:34:53 -0400 |
| commit | ee3e432300054ca488896e39fca57b10d733330a (patch) | |
| tree | 3ba92bb1967b9c2047931cc43175641fa8a1e05c | |
| parent | fd5bf49139ab84f630b60c6714e0db2da34edff2 (diff) | |
| download | emacs-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.
134 files changed, 136 insertions, 619 deletions
| @@ -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. |
| 694 | By default, calling 'recenter' will not redraw the frame even if | 696 | By 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. |
| 59 | With a prefix argument ARG, enable Abbrev mode if ARG is | ||
| 60 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 61 | Abbrev mode if ARG is omitted or nil. | ||
| 62 | 59 | ||
| 63 | In Abbrev mode, inserting an abbreviation causes it to expand and | 60 | In Abbrev mode, inserting an abbreviation causes it to expand and |
| 64 | be replaced by its expansion." | 61 | be 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. |
| 516 | With a prefix argument ARG, enable Allout Widgets mode if ARG is | ||
| 517 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 518 | the mode if ARG is omitted or nil. | ||
| 519 | 516 | ||
| 520 | Allout Widgets mode is an extension of Allout mode that provides | 517 | Allout Widgets mode is an extension of Allout mode that provides |
| 521 | graphical decoration of outline structure. It is meant to | 518 | graphical 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. |
| 1696 | With a prefix argument ARG, enable Allout outline mode if ARG is | ||
| 1697 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1698 | the mode if ARG is omitted or nil. | ||
| 1699 | 1696 | ||
| 1700 | \\<allout-mode-map-value> | 1697 | \\<allout-mode-map-value> |
| 1701 | Allout outline mode is a minor mode that provides extensive | 1698 | Allout 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. |
| 93 | With a prefix argument ARG, enable Autoarg mode if ARG is | ||
| 94 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 95 | the mode if ARG is omitted or nil. | ||
| 96 | 93 | ||
| 97 | \\<autoarg-mode-map> | 94 | \\<autoarg-mode-map> |
| 98 | In Autoarg mode, digits are bound to `digit-argument', i.e. they | 95 | In 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. |
| 119 | With a prefix argument ARG, enable Autoarg-KP mode if ARG is | ||
| 120 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 121 | the mode if ARG is omitted or nil. | ||
| 122 | 116 | ||
| 123 | \\<autoarg-kp-mode-map> | 117 | \\<autoarg-kp-mode-map> |
| 124 | This is similar to `autoarg-mode' but rebinds the keypad keys | 118 | This 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. |
| 415 | With a prefix argument ARG, enable Auto-insert mode if ARG is | ||
| 416 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 417 | the mode if ARG is omitted or nil. | ||
| 418 | 415 | ||
| 419 | When Auto-insert mode is enabled, when new files are created you can | 416 | When Auto-insert mode is enabled, when new files are created you can |
| 420 | insert a template for the file depending on the mode of the buffer." | 417 | insert 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). |
| 354 | With a prefix argument ARG, enable Auto-Revert Mode if ARG is | ||
| 355 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 356 | the mode if ARG is omitted or nil. | ||
| 357 | 354 | ||
| 358 | Auto-Revert Mode is a minor mode that affects only the current | 355 | Auto-Revert Mode is a minor mode that affects only the current |
| 359 | buffer. When enabled, it reverts the buffer when the file on | 356 | buffer. 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. |
| 396 | With a prefix argument ARG, enable Auto-Revert Tail Mode if ARG | ||
| 397 | is positive, and disable it otherwise. If called from Lisp, | ||
| 398 | enable the mode if ARG is omitted or nil. | ||
| 399 | 393 | ||
| 400 | When Auto-Revert Tail Mode is enabled, the tail of the file is | 394 | When Auto-Revert Tail Mode is enabled, the tail of the file is |
| 401 | constantly followed, as with the shell command `tail -f'. This | 395 | constantly 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. |
| 463 | With a prefix argument ARG, enable Global Auto-Revert Mode if ARG | ||
| 464 | is positive, and disable it otherwise. If called from Lisp, | ||
| 465 | enable the mode if ARG is omitted or nil. | ||
| 466 | 457 | ||
| 467 | Global Auto-Revert Mode is a global minor mode that reverts any | 458 | Global Auto-Revert Mode is a global minor mode that reverts any |
| 468 | buffer associated with a file when the file changes on disk. Use | 459 | buffer 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). |
| 178 | With a prefix argument ARG, enable Display Battery mode if ARG is | ||
| 179 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 180 | the mode if ARG is omitted or nil. | ||
| 181 | 178 | ||
| 182 | The text displayed in the mode line is controlled by | 179 | The 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. |
| 478 | With a prefix argument ARG, enable EDE minor mode if ARG is | ||
| 479 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 480 | EDE minor mode if ARG is omitted or nil. | ||
| 481 | 478 | ||
| 482 | If this file is contained, or could be contained in an EDE | 479 | If this file is contained, or could be contained in an EDE |
| 483 | controlled project, then this mode is activated automatically | 480 | controlled 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. |
| 566 | With a prefix argument ARG, enable global EDE mode if ARG is | ||
| 567 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 568 | the mode if ARG is omitted or nil. | ||
| 569 | 563 | ||
| 570 | This global minor mode enables `ede-minor-mode' in all buffers in | 564 | This global minor mode enables `ede-minor-mode' in all buffers in |
| 571 | an EDE controlled project." | 565 | an 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." |
| 63 | If ARG is nil or a positive number, force on, if | ||
| 64 | negative, 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). |
| 1099 | With a prefix argument ARG, enable Semantic mode if ARG is | ||
| 1100 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1101 | Semantic mode if ARG is omitted or nil. | ||
| 1102 | 1099 | ||
| 1103 | In Semantic mode, Emacs parses the buffers you visit for their | 1100 | In Semantic mode, Emacs parses the buffers you visit for their |
| 1104 | semantic content. This information is used by a variety of | 1101 | semantic 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. |
| 59 | With ARG, turn Semantic DB mode on if ARG is positive, off otherwise. | ||
| 60 | 59 | ||
| 61 | In Semantic DB mode, Semantic parsers store results in a | 60 | In Semantic DB mode, Semantic parsers store results in a |
| 62 | database, which can be saved for future Emacs sessions." | 61 | database, 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. |
| 252 | Decorations are specified in `semantic-decoration-styles'. | 252 | Decorations are specified in `semantic-decoration-styles'. You |
| 253 | You can define new decoration styles with | 253 | can define new decoration styles with |
| 254 | `define-semantic-decoration-style'. | 254 | `define-semantic-decoration-style'. |
| 255 | With prefix argument ARG, turn on if positive, otherwise off. The | 255 | |
| 256 | minor mode can be turned on only if semantic feature is available and | 256 | The minor mode can be turned on only if semantic feature is |
| 257 | the current buffer was set up for parsing. Return non-nil if the | 257 | available and the current buffer was set up for parsing. Return |
| 258 | minor mode is enabled." | 258 | non-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 | |||
| 172 | is enabled, Emacs periodically checks to see if the buffer is out of | 172 | is enabled, Emacs periodically checks to see if the buffer is out of |
| 173 | date, and reparses while the user is idle (not typing.) | 173 | date, and reparses while the user is idle (not typing.) |
| 174 | 174 | ||
| 175 | With prefix argument ARG, turn on if positive, otherwise off. The | 175 | The minor mode can be turned on only if semantic feature is |
| 176 | minor mode can be turned on only if semantic feature is available and | 176 | available and the current buffer was set up for parsing. Return |
| 177 | the current buffer was set up for parsing. Return non-nil if the | 177 | non-nil if the minor mode is enabled." nil nil nil |
| 178 | minor 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. |
| 779 | With ARG, turn Semantic Idle Summary mode on if ARG is positive, | ||
| 780 | off otherwise. | ||
| 781 | 777 | ||
| 782 | When this minor mode is enabled, the echo area displays a summary | 778 | When this minor mode is enabled, the echo area displays a summary |
| 783 | of the lexical token at point whenever Emacs is idle." | 779 | of 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. |
| 815 | With ARG, turn Global Semantic Idle Summary mode on if ARG is | ||
| 816 | positive, off otherwise. | ||
| 817 | 811 | ||
| 818 | When this minor mode is enabled, `semantic-idle-summary-mode' is | 812 | When this minor mode is enabled, `semantic-idle-summary-mode' is |
| 819 | turned on in every Semantic-supported buffer." | 813 | turned 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'. |
| 934 | The idle scheduler will automatically reparse buffers in idle time, | 928 | |
| 935 | and then schedule other jobs setup with `semantic-idle-scheduler-add'. | 929 | The idle scheduler will automatically reparse buffers in idle |
| 936 | If ARG is positive or nil, enable, if it is negative, disable." | 930 | time, 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'." |
| 256 | If 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 | ||
| 281 | With prefix argument ARG, turn on if positive, otherwise off. The | 280 | The minor mode can be turned on only if semantic feature is |
| 282 | minor mode can be turned on only if semantic feature is available and | 281 | available and the current buffer was set up for parsing. Return |
| 283 | the current buffer was set up for parsing. Return non-nil if the | 282 | non-nil if the minor mode is enabled." |
| 284 | minor 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'." |
| 174 | If 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 | |||
| 209 | properly. | 208 | properly. |
| 210 | This mode will highlight those changes as they are made, and clear them | 209 | This mode will highlight those changes as they are made, and clear them |
| 211 | when the incremental parser accounts for those edits. | 210 | when the incremental parser accounts for those edits. |
| 212 | With prefix argument ARG, turn on if positive, otherwise off. The | 211 | |
| 213 | minor mode can be turned on only if semantic feature is available and | 212 | The minor mode can be turned on only if semantic feature is |
| 214 | the current buffer was set up for parsing. Return non-nil if the | 213 | available and the current buffer was set up for parsing. Return |
| 215 | minor mode is enabled." | 214 | non-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'." |
| 241 | If 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. | |||
| 360 | Often time, the display of unmatched syntax can expose coding | 358 | Often time, the display of unmatched syntax can expose coding |
| 361 | problems before the compiler is run. | 359 | problems before the compiler is run. |
| 362 | 360 | ||
| 363 | With prefix argument ARG, turn on if positive, otherwise off. The | 361 | The minor mode can be turned on only if semantic feature is |
| 364 | minor mode can be turned on only if semantic feature is available and | 362 | available and the current buffer was set up for parsing. Return |
| 365 | the current buffer was set up for parsing. Return non-nil if the | 363 | non-nil if the minor mode is enabled. |
| 366 | minor 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'." |
| 414 | If 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.) |
| 443 | With prefix argument ARG, turn on if positive, otherwise off. The | 439 | |
| 444 | minor mode can be turned on only if semantic feature is available and | 440 | The minor mode can be turned on only if semantic feature is |
| 445 | the current buffer was set up for parsing. Return non-nil if the | 441 | available and the current buffer was set up for parsing. Return |
| 446 | minor mode is enabled." | 442 | non-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'." |
| 561 | If 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 | |||
| 700 | first line which describes the rest of the construct. This first | 695 | first line which describes the rest of the construct. This first |
| 701 | line is what is displayed in the header line. | 696 | line is what is displayed in the header line. |
| 702 | 697 | ||
| 703 | With prefix argument ARG, turn on if positive, otherwise off. The | 698 | The minor mode can be turned on only if semantic feature is |
| 704 | minor mode can be turned on only if semantic feature is available and | 699 | available and the current buffer was set up for parsing. Return |
| 705 | the current buffer was set up for parsing. Return non-nil if the | 700 | non-nil if the minor mode is enabled." |
| 706 | minor 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'." |
| 841 | If 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 | |||
| 933 | header line. This mode recycles the stickyfunc configuration | 926 | header line. This mode recycles the stickyfunc configuration |
| 934 | classes list. | 927 | classes list. |
| 935 | 928 | ||
| 936 | With prefix argument ARG, turn on if positive, otherwise off. The | 929 | The minor mode can be turned on only if semantic feature is |
| 937 | minor mode can be turned on only if semantic feature is available and | 930 | available and the current buffer was set up for parsing. Return |
| 938 | the current buffer was set up for parsing. Return non-nil if the | 931 | non-nil if the minor mode is enabled." |
| 939 | minor 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. |
| 151 | With prefix argument ARG, turn on if positive, otherwise off. The | 151 | |
| 152 | minor mode can be turned on only if semantic feature is available and | 152 | The minor mode can be turned on only if semantic feature is |
| 153 | the current buffer was set up for parsing. Return non-nil if the | 153 | available and the current buffer was set up for parsing. Return |
| 154 | minor mode is enabled. | 154 | non-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." |
| 180 | If 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." |
| 2279 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 2280 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 2281 | if 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. |
| 832 | With a prefix argument ARG, enable Auto Composition mode if ARG | ||
| 833 | is positive, and disable it otherwise. If called from Lisp, | ||
| 834 | enable the mode if ARG is omitted or nil. | ||
| 835 | 832 | ||
| 836 | When Auto Composition mode is enabled, text characters are | 833 | When Auto Composition mode is enabled, text characters are |
| 837 | automatically composed by functions registered in | 834 | automatically 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. |
| 850 | With a prefix argument ARG, enable it if ARG is positive, and | ||
| 851 | disable it otherwise. If called from Lisp, enable it if ARG is | ||
| 852 | omitted or nil. | ||
| 853 | 847 | ||
| 854 | For more information on Auto Composition mode, see | 848 | For 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. |
| 73 | Interactively, with a prefix argument, enable | ||
| 74 | Delete Selection mode if the prefix argument is positive, | ||
| 75 | and disable it otherwise. If called from Lisp, toggle | ||
| 76 | the mode if ARG is `toggle', disable the mode if ARG is | ||
| 77 | a non-positive integer, and enable the mode otherwise | ||
| 78 | \(including if ARG is omitted or nil or a positive integer). | ||
| 79 | 73 | ||
| 80 | When Delete Selection mode is enabled, typed text replaces the selection | 74 | When Delete Selection mode is enabled, typed text replaces the selection |
| 81 | if the selection is active. Otherwise, typed text is just inserted at | 75 | if 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). |
| 164 | With a prefix argument ARG, enable Desktop Save mode if ARG is positive, | ||
| 165 | and disable it otherwise. If called from Lisp, enable the mode if ARG | ||
| 166 | is omitted or nil. | ||
| 167 | 164 | ||
| 168 | When Desktop Save mode is enabled, the state of Emacs is saved from | 165 | When Desktop Save mode is enabled, the state of Emacs is saved from |
| 169 | one session to another. In particular, Emacs will save the desktop when | 166 | one 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). |
| 142 | With a prefix argument ARG, enable Dired-Omit mode if ARG is | ||
| 143 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 144 | the mode if ARG is omitted or nil. | ||
| 145 | 142 | ||
| 146 | Dired-Omit mode is a buffer-local minor mode. When enabled in a | 143 | Dired-Omit mode is a buffer-local minor mode. When enabled in a |
| 147 | Dired buffer, Dired does not list files whose filenames match | 144 | Dired 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). |
| 187 | With a prefix argument ARG, enable Dirtrack mode if ARG is | ||
| 188 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 189 | the mode if ARG is omitted or nil. | ||
| 190 | 187 | ||
| 191 | This method requires that your shell prompt contain the current | 188 | This method requires that your shell prompt contain the current |
| 192 | working directory at all times, and that you set the variable | 189 | working 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." |
| 209 | With a prefix argument ARG, enable Dirtrack debugging if ARG is | ||
| 210 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 211 | the 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). |
| 1862 | With a prefix argument ARG, enable Doc View minor mode if ARG is | ||
| 1863 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1864 | the mode if ARG is omitted or nil. | ||
| 1865 | 1862 | ||
| 1866 | See the command `doc-view-mode' for more information on this mode." | 1863 | See 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). |
| 153 | With a prefix argument ARG, enable Double mode if ARG is | ||
| 154 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 155 | the mode if ARG is omitted or nil. | ||
| 156 | 153 | ||
| 157 | When Double mode is enabled, some keys will insert different | 154 | When Double mode is enabled, some keys will insert different |
| 158 | strings when pressed twice. See `double-map' for details." | 155 | strings 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). |
| 584 | With a prefix argument ARG, enable Electric Pair mode if ARG is | ||
| 585 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 586 | the mode if ARG is omitted or nil. | ||
| 587 | 584 | ||
| 588 | Electric Pair mode is a global minor mode. When enabled, typing | 585 | Electric Pair mode is a global minor mode. When enabled, typing |
| 589 | an open parenthesis automatically inserts the corresponding | 586 | an 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). |
| 328 | With a prefix argument ARG, enable Electric Indent mode if ARG is | ||
| 329 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 330 | the mode if ARG is omitted or nil. | ||
| 331 | 328 | ||
| 332 | When enabled, this reindents whenever the hook `electric-indent-functions' | 329 | When enabled, this reindents whenever the hook `electric-indent-functions' |
| 333 | returns non-nil, or if you insert a character from `electric-indent-chars'. | 330 | returns 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. |
| 414 | With a prefix argument ARG, enable Electric Layout mode if ARG is | 411 | |
| 415 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 416 | the mode if ARG is omitted or nil. | ||
| 417 | The variable `electric-layout-rules' says when and how to insert newlines." | 412 | The 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). |
| 554 | With a prefix argument ARG, enable Electric Quote mode if | ||
| 555 | ARG is positive, and disable it otherwise. If called from Lisp, | ||
| 556 | enable the mode if ARG is omitted or nil. | ||
| 557 | 549 | ||
| 558 | When enabled, as you type this replaces \\=` with ‘, \\=' with ’, | 550 | When 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). |
| 1240 | With a prefix argument ARG, enable Checkdoc minor mode if ARG is | ||
| 1241 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1242 | the mode if ARG is omitted or nil. | ||
| 1243 | 1240 | ||
| 1244 | In Checkdoc minor mode, the usual bindings for `eval-defun' which is | 1241 | In Checkdoc minor mode, the usual bindings for `eval-defun' which is |
| 1245 | bound to \\<checkdoc-minor-mode-map>\\[checkdoc-eval-defun] and `checkdoc-eval-current-buffer' are overridden to include | 1242 | bound 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 | |||
| 87 | If called interactively, enable %s if ARG is positive, and | ||
| 88 | disable it if ARG is zero or negative. If called from Lisp, | ||
| 89 | also enable the mode if ARG is omitted or nil, and toggle it | ||
| 90 | if 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 | |||
| 101 | if the argument is omitted or nil or a positive integer). | 121 | if the argument is omitted or nil or a positive integer). |
| 102 | 122 | ||
| 103 | If DOC is nil, give the mode command a basic doc-string | 123 | If DOC is nil, give the mode command a basic doc-string |
| 104 | documenting what its argument does. | 124 | documenting what its argument does. If the word \"ARG\" does not |
| 125 | appear in DOC, a paragraph is added to DOC explaining | ||
| 126 | usage of the mode argument. | ||
| 105 | 127 | ||
| 106 | Optional INIT-VALUE is the initial value of the mode's variable. | 128 | Optional INIT-VALUE is the initial value of the mode's variable. |
| 107 | Optional LIGHTER is displayed in the mode line when the mode is on. | 129 | Optional 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. | ||
| 275 | With a prefix argument ARG, enable %s if ARG is | ||
| 276 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 277 | the 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). |
| 180 | With a prefix argument ARG, enable ElDoc mode if ARG is positive, | ||
| 181 | and disable it otherwise. If called from Lisp, enable ElDoc mode | ||
| 182 | if ARG is omitted or nil. | ||
| 183 | 180 | ||
| 184 | ElDoc mode is a buffer-local minor mode. When enabled, the echo | 181 | ElDoc mode is a buffer-local minor mode. When enabled, the echo |
| 185 | area displays information about a function or variable in the | 182 | area 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. |
| 191 | If called with a plain prefix argument, ask for the locking mode | 191 | If called with a plain prefix argument, ask for the locking mode |
| 192 | to be used. With any other prefix ARG, turn mode on if ARG is | 192 | to be used. |
| 193 | positive, off otherwise. If called from Lisp, enable the mode if | ||
| 194 | ARG is omitted or nil. | ||
| 195 | 193 | ||
| 196 | Initially, if the user does not pass an explicit locking mode, it | 194 | Initially, if the user does not pass an explicit locking mode, it |
| 197 | defaults to `emacs-lock-default-locking-mode' (which see); | 195 | defaults 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). |
| 1321 | With a prefix argument ARG, enable CUA mode if ARG is positive, | ||
| 1322 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 1323 | if ARG is omitted or nil. | ||
| 1324 | 1321 | ||
| 1325 | CUA mode is a global minor mode. When enabled, typed text | 1322 | CUA mode is a global minor mode. When enabled, typed text |
| 1326 | replaces the active selection, and you can use C-z, C-x, C-c, and | 1323 | replaces 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)." |
| 87 | With a prefix argument ARG, enable Auto Encryption mode if ARG is | ||
| 88 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 89 | the 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." |
| 51 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 52 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 53 | if 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." |
| 242 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 243 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 244 | if 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). |
| 498 | With a prefix argument ARG, enable ERC Track minor mode if ARG is | ||
| 499 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 500 | the mode if ARG is omitted or nil. | ||
| 501 | 498 | ||
| 502 | ERC Track minor mode is a global minor mode. It exists for the | 499 | ERC Track minor mode is a global minor mode. It exists for the |
| 503 | sole purpose of providing the C-c C-SPC and C-c C-@ keybindings. | 500 | sole 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. |
| 232 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 233 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 234 | if ARG is omitted or nil. | ||
| 235 | 232 | ||
| 236 | The amount of scaling is determined by the variable | 233 | The 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. |
| 390 | With a prefix argument ARG, enable the mode if ARG is positive, | 387 | |
| 391 | and disable it otherwise. If called from Lisp, enable the mode | 388 | When enabled, the face specified by the variable |
| 392 | if ARG is omitted or nil. When enabled, the face specified by the | 389 | `buffer-face-mode-face' is used to display the buffer text." |
| 393 | variable `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. |
| 422 | With a prefix argument ARG, enable regular saving of all buffers | 422 | |
| 423 | visiting a file if ARG is positive, and disable it otherwise. | ||
| 424 | Unlike `auto-save-mode', this mode will auto-save buffer contents | 423 | Unlike `auto-save-mode', this mode will auto-save buffer contents |
| 425 | to the visited files directly and will also run all save-related | 424 | to the visited files directly and will also run all save-related |
| 426 | hooks. See Info node `Saving' for details of the save process. | 425 | hooks. See Info node `Saving' for details of the save process." |
| 427 | |||
| 428 | If called from Lisp, enable the mode if ARG is omitted or nil, | ||
| 429 | and 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. |
| 386 | With a prefix argument ARG, enable Follow mode if ARG is | ||
| 387 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 388 | the mode if ARG is omitted or nil. | ||
| 389 | 386 | ||
| 390 | Follow mode is a minor mode that combines windows into one tall | 387 | Follow mode is a minor mode that combines windows into one tall |
| 391 | virtual window. This is accomplished by two main techniques: | 388 | virtual 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). |
| 81 | With a prefix argument ARG, enable Font Lock mode if ARG is | ||
| 82 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 83 | the mode if ARG is omitted or nil. | ||
| 84 | 81 | ||
| 85 | When Font Lock mode is enabled, text is fontified as you type it: | 82 | When 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. |
| 1385 | With a prefix argument ARG, enable Auto Raise mode if ARG is | ||
| 1386 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1387 | the mode if ARG is omitted or nil. | ||
| 1388 | 1385 | ||
| 1389 | Auto Raise mode does nothing under most window managers, which | 1386 | Auto Raise mode does nothing under most window managers, which |
| 1390 | switch focus on mouse clicks. It only has an effect if your | 1387 | switch 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. |
| 1405 | With a prefix argument ARG, enable Auto Lower mode if ARG is | ||
| 1406 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1407 | the mode if ARG is omitted or nil. | ||
| 1408 | 1402 | ||
| 1409 | Auto Lower mode does nothing under most window managers, which | 1403 | Auto Lower mode does nothing under most window managers, which |
| 1410 | switch focus on mouse clicks. It only has an effect if your | 1404 | switch 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). |
| 2300 | With a prefix argument ARG, enable Window Divider mode if ARG is | ||
| 2301 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 2302 | the mode if ARG is omitted or nil. | ||
| 2303 | 2294 | ||
| 2304 | The option `window-divider-default-places' specifies on which | 2295 | The option `window-divider-default-places' specifies on which |
| 2305 | side of a window dividers are displayed. The options | 2296 | side 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). |
| 2453 | With a prefix argument ARG, enable Blink Cursor mode if ARG is | ||
| 2454 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 2455 | the mode if ARG is omitted or nil. | ||
| 2456 | 2444 | ||
| 2457 | If the value of `blink-cursor-blinks' is positive (10 by default), | 2445 | If the value of `blink-cursor-blinks' is positive (10 by default), |
| 2458 | the cursor stops blinking after that number of blinks, if Emacs | 2446 | the 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). |
| 1110 | With a prefix argument ARG, enable Temp Buffer Resize mode if ARG | ||
| 1111 | is positive, and disable it otherwise. If called from Lisp, | ||
| 1112 | enable the mode if ARG is omitted or nil. | ||
| 1113 | 1110 | ||
| 1114 | When Temp Buffer Resize mode is enabled, the windows in which we | 1111 | When Temp Buffer Resize mode is enabled, the windows in which we |
| 1115 | show a temporary buffer are automatically resized in height to | 1112 | show 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 | |||
| 1000 | When following is enabled, the ASCII character corresponding to the | 1001 | When following is enabled, the ASCII character corresponding to the |
| 1001 | element under the point is highlighted. | 1002 | element under the point is highlighted. |
| 1002 | The default activation is controlled by `hexl-follow-ascii'." | 1003 | The 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). |
| 292 | With a prefix argument ARG, enable Hi Lock mode if ARG is | ||
| 293 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 294 | the mode if ARG is omitted or nil. | ||
| 295 | 292 | ||
| 296 | Hi Lock mode is automatically enabled when you invoke any of the | 293 | Hi Lock mode is automatically enabled when you invoke any of the |
| 297 | highlighting commands listed below, such as \\[highlight-regexp]. | 294 | highlighting 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). |
| 322 | With a prefix argument ARG, enable Highlight Changes mode if ARG | ||
| 323 | is positive, and disable it otherwise. If called from Lisp, | ||
| 324 | enable the mode if ARG is omitted or nil. | ||
| 325 | 322 | ||
| 326 | When Highlight Changes is enabled, changes are marked with a text | 323 | When Highlight Changes is enabled, changes are marked with a text |
| 327 | property. Normally they are displayed in a distinctive face, but | 324 | property. 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. |
| 363 | With a prefix argument ARG, enable Highlight Changes Visible mode | ||
| 364 | if ARG is positive, and disable it otherwise. If called from | ||
| 365 | Lisp, enable the mode if ARG is omitted or nil. | ||
| 366 | 360 | ||
| 367 | Highlight Changes Visible mode only has an effect when Highlight | 361 | Highlight Changes Visible mode only has an effect when Highlight |
| 368 | Changes mode is on. When enabled, the changed text is displayed | 362 | Changes 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). |
| 135 | With a prefix argument ARG, enable Hl-Line mode if ARG is | ||
| 136 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 137 | the mode if ARG is omitted or nil. | ||
| 138 | 135 | ||
| 139 | Hl-Line mode is a buffer-local minor mode. If | 136 | Hl-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). |
| 206 | With a prefix argument ARG, enable Global Hl-Line mode if ARG is | ||
| 207 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 208 | the mode if ARG is omitted or nil. | ||
| 209 | 203 | ||
| 210 | If `global-hl-line-sticky-flag' is non-nil, Global Hl-Line mode | 204 | If `global-hl-line-sticky-flag' is non-nil, Global Hl-Line mode |
| 211 | highlights the line about the current buffer's point in all live | 205 | highlights 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)." |
| 407 | With a prefix argument ARG, enable Ibuffer Auto mode if ARG is | ||
| 408 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 409 | the 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). |
| 197 | With a prefix argument ARG, enable Icomplete mode if ARG is | ||
| 198 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 199 | the mode if ARG is omitted or nil. | ||
| 200 | 197 | ||
| 201 | When this global minor mode is enabled, typing in the minibuffer | 198 | When this global minor mode is enabled, typing in the minibuffer |
| 202 | continuously displays a list of possible completions that match | 199 | continuously 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." |
| 1586 | With a prefix argument ARG, enable this feature if ARG is | ||
| 1587 | positive, and disable it otherwise. If called from Lisp, | ||
| 1588 | enable 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). |
| 182 | With a prefix argument ARG, enable Auto Image File mode if ARG is | ||
| 183 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 184 | the mode if ARG is omitted or nil. | ||
| 185 | 182 | ||
| 186 | An image file is one whose name has an extension in | 183 | An 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. |
| 620 | With a prefix argument ARG, enable Image minor mode if ARG is | ||
| 621 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 622 | the mode if ARG is omitted or nil. | ||
| 623 | 620 | ||
| 624 | Image minor mode provides the key \\<image-mode-map>\\[image-toggle-display], | 621 | Image minor mode provides the key \\<image-mode-map>\\[image-toggle-display], |
| 625 | to switch back to `image-mode' and display an image file as the | 622 | to 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." |
| 167 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 168 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 169 | if 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 | |||
| 269 | When this minor mode is enabled, jit-lock runs as little code as possible | 270 | When this minor mode is enabled, jit-lock runs as little code as possible |
| 270 | during redisplay and moves the rest to a timer, where things | 271 | during redisplay and moves the rest to a timer, where things |
| 271 | like `debug-on-error' and Edebug can be used." | 272 | like `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. |
| 350 | With a prefix argument ARG, enable Auto Compression mode if ARG | ||
| 351 | is positive, and disable it otherwise. If called from Lisp, | ||
| 352 | enable the mode if ARG is omitted or nil. | ||
| 353 | 350 | ||
| 354 | Auto Compression mode is a global minor mode. When enabled, | 351 | Auto Compression mode is a global minor mode. When enabled, |
| 355 | compressed files are automatically uncompressed for reading, and | 352 | compressed 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. |
| 259 | With a prefix argument ARG, enable the mode if ARG is positive, | 259 | |
| 260 | and disable it otherwise. If called from Lisp, enable the mode | 260 | The commands affected are \\[forward-word], \\[backward-word], |
| 261 | if 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). |
| 78 | With a prefix argument ARG, enable Linum mode if ARG is positive, | ||
| 79 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 80 | if ARG is omitted or nil. | ||
| 81 | 78 | ||
| 82 | Linum mode is a buffer-local minor mode." | 79 | Linum 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. |
| 948 | With a prefix argument ARG, enable Footnote mode if ARG is | ||
| 949 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 950 | the mode if ARG is omitted or nil. | ||
| 951 | 948 | ||
| 952 | Footnote mode is a buffer-local minor mode. If enabled, it | 949 | Footnote mode is a buffer-local minor mode. If enabled, it |
| 953 | provides footnote support for `message-mode'. To get started, | 950 | provides 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). |
| 137 | With a prefix argument ARG, enable Mail Abbrevs mode if ARG is | ||
| 138 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 139 | the mode if ARG is omitted or nil. | ||
| 140 | 137 | ||
| 141 | Mail Abbrevs mode is a global minor mode. When enabled, | 138 | Mail Abbrevs mode is a global minor mode. When enabled, |
| 142 | abbrev-like expansion is performed when editing certain mail | 139 | abbrev-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. |
| 76 | With a prefix argument ARG, enable Master mode if ARG is | ||
| 77 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 78 | the mode if ARG is omitted or nil. | ||
| 79 | 76 | ||
| 80 | When Master mode is enabled, you can scroll the slave buffer | 77 | When Master mode is enabled, you can scroll the slave buffer |
| 81 | using the following commands: | 78 | using 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. |
| 61 | With a prefix argument ARG, enable Minibuffer Depth Indication | ||
| 62 | mode if ARG is positive, and disable it otherwise. If called | ||
| 63 | from Lisp, enable the mode if ARG is omitted or nil. | ||
| 64 | 61 | ||
| 65 | Minibuffer Depth Indication mode is a global minor mode. When | 62 | Minibuffer Depth Indication mode is a global minor mode. When |
| 66 | enabled, any recursive use of the minibuffer will show the | 63 | enabled, 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). |
| 2288 | With a prefix argument ARG, enable Menu Bar mode if ARG is | ||
| 2289 | positive, and disable it otherwise. If called from Lisp, also | ||
| 2290 | enable Menu Bar mode if ARG is omitted or nil. | ||
| 2291 | 2288 | ||
| 2292 | This command applies to all frames that exist and frames to be | 2289 | This command applies to all frames that exist and frames to be |
| 2293 | created in the future." | 2290 | created 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. |
| 166 | With a prefix argument ARG, enable Minibuffer Electric Default | ||
| 167 | mode if ARG is positive, and disable it otherwise. If called | ||
| 168 | from Lisp, enable the mode if ARG is omitted or nil. | ||
| 169 | 166 | ||
| 170 | Minibuffer Electric Default mode is a global minor mode. When | 167 | Minibuffer Electric Default mode is a global minor mode. When |
| 171 | enabled, minibuffer prompts that show a default value only show | 168 | enabled, 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. |
| 1135 | With a prefix argument ARG, enable Msb mode if ARG is positive, | ||
| 1136 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 1137 | if ARG is omitted or nil. | ||
| 1138 | 1135 | ||
| 1139 | This mode overrides the binding(s) of `mouse-buffer-menu' to provide a | 1136 | This mode overrides the binding(s) of `mouse-buffer-menu' to provide a |
| 1140 | different buffer menu using the function `msb'." | 1137 | different 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)." |
| 313 | With a prefix argument ARG, enable Mouse Wheel mode if ARG is | ||
| 314 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 315 | the 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." |
| 274 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 275 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 276 | if 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. |
| 189 | With a prefix argument ARG, enable Rcirc-Omit mode if ARG is | ||
| 190 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 191 | the mode if ARG is omitted or nil. | ||
| 192 | 189 | ||
| 193 | Uninteresting lines are those whose responses are listed in | 190 | Uninteresting 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." |
| 1357 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 1358 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 1359 | if 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." |
| 1871 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 1872 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 1873 | if 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. |
| 194 | With prefix ARG, turn Partial Completion mode on if ARG is positive. | ||
| 195 | 194 | ||
| 196 | When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is | 195 | When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is |
| 197 | nil) is enhanced so that if some string is divided into words and each word is | 196 | nil) 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)." |
| 357 | With a prefix argument ARG, enable CRiSP mode if ARG is positive, | ||
| 358 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 359 | if 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. |
| 1420 | With a prefix argument ARG, enable Iswitchb mode if ARG is | ||
| 1421 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1422 | the mode if ARG is omitted or nil. | ||
| 1423 | 1420 | ||
| 1424 | Iswitchb mode is a global minor mode that enables switching | 1421 | Iswitchb mode is a global minor mode that enables switching |
| 1425 | between buffers using substrings. See `iswitchb' for details." | 1422 | between 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. |
| 100 | With a prefix argument ARG, enable Long Lines mode if ARG is | ||
| 101 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 102 | the mode if ARG is omitted or nil. | ||
| 103 | 100 | ||
| 104 | When Long Lines mode is enabled, long lines are wrapped if they | 101 | When Long Lines mode is enabled, long lines are wrapped if they |
| 105 | extend beyond `fill-column'. The soft newlines used for line | 102 | extend 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. |
| 197 | With a prefix argument ARG, enable Mouse Sel mode if ARG is | ||
| 198 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 199 | the mode if ARG is omitted or nil. | ||
| 200 | 197 | ||
| 201 | Mouse Sel mode is a global minor mode. When enabled, mouse | 198 | Mouse Sel mode is a global minor mode. When enabled, mouse |
| 202 | selection is enhanced in various ways: | 199 | selection 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. |
| 750 | With ARG, turn the mode on if ARG is positive, otherwise turn it off. | ||
| 751 | 750 | ||
| 752 | When this mode is active, `whitespace-buffer' is added to | 751 | When 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." |
| 984 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 985 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 986 | if 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." |
| 137 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 138 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 139 | if 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. |
| 515 | With a prefix argument ARG, enable Xesam minor mode if ARG is | ||
| 516 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 517 | the mode if ARG is omitted or nil. | ||
| 518 | 515 | ||
| 519 | When Xesam minor mode is enabled, all text which matches a | 516 | When Xesam minor mode is enabled, all text which matches a |
| 520 | previous Xesam query in this buffer is highlighted." | 517 | previous 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. |
| 302 | With a prefix argument ARG, enable Outline minor mode if ARG is | ||
| 303 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 304 | the mode if ARG is omitted or nil. | ||
| 305 | 302 | ||
| 306 | See the command `outline-mode' for more information on this mode." | 303 | See 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). |
| 103 | With a prefix argument ARG, enable Show Paren mode if ARG is | ||
| 104 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 105 | the mode if ARG is omitted or nil. | ||
| 106 | 103 | ||
| 107 | Show Paren mode is a global minor mode. When enabled, any | 104 | Show Paren mode is a global minor mode. When enabled, any |
| 108 | matching parenthesis is highlighted in `show-paren-style' after | 105 | matching 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." |
| 109 | With a prefix argument ARG, enable Pixel Scroll mode if ARG is positive, | ||
| 110 | and disable it otherwise. If called from Lisp, enable Pixel Scroll mode | ||
| 111 | if 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)." |
| 145 | With a prefix argument ARG, enable Bug Reference mode if ARG is | ||
| 146 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 147 | the 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. |
| 2167 | With a prefix argument ARG, enable Compilation Shell minor mode | ||
| 2168 | if ARG is positive, and disable it otherwise. If called from | ||
| 2169 | Lisp, enable the mode if ARG is omitted or nil. | ||
| 2170 | 2167 | ||
| 2171 | When Compilation Shell minor mode is enabled, all the | 2168 | When Compilation Shell minor mode is enabled, all the |
| 2172 | error-parsing commands of the Compilation major mode are | 2169 | error-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. |
| 2184 | With a prefix argument ARG, enable Compilation minor mode if ARG | ||
| 2185 | is positive, and disable it otherwise. If called from Lisp, | ||
| 2186 | enable the mode if ARG is omitted or nil. | ||
| 2187 | 2181 | ||
| 2188 | When Compilation minor mode is enabled, all the error-parsing | 2182 | When Compilation minor mode is enabled, all the error-parsing |
| 2189 | commands of Compilation major mode are available. See | 2183 | commands 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 | ||
| 181 | Note, in addition to enabling this minor mode, the major mode must | 181 | Note, in addition to enabling this minor mode, the major mode must |
| 182 | be included in the variable `cwarn-configuration'. By default C and | 182 | be included in the variable `cwarn-configuration'. By default C and |
| 183 | C++ modes are included. | 183 | C++ modes are included." |
| 184 | |||
| 185 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 186 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 187 | if 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. |
| 918 | With a prefix argument ARG, enable Flymake mode if ARG is | ||
| 919 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 920 | the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'. | ||
| 921 | 918 | ||
| 922 | Flymake is an Emacs minor mode for on-the-fly syntax checking. | 919 | Flymake is an Emacs minor mode for on-the-fly syntax checking. |
| 923 | Flymake collects diagnostic information from multiple sources, | 920 | Flymake 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." |
| 1142 | With prefix argument ARG, automatically raise speedbar if ARG is | ||
| 1143 | positive, 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. |
| 315 | With a prefix argument ARG, enable the mode if ARG is positive, | 315 | |
| 316 | and disable it otherwise. If called from Lisp, enable the mode | 316 | When this mode is active, it tries to add virtual |
| 317 | if ARG is omitted or nil. When this mode is active, it tries to | 317 | separators (like underscores) at places they belong to." |
| 318 | add 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." |
| 3367 | With a prefix argument ARG, enable the feature if ARG is | ||
| 3368 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 3369 | it 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). |
| 266 | With a prefix argument ARG, enable Hide-Ifdef mode if ARG is | ||
| 267 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 268 | the mode if ARG is omitted or nil. | ||
| 269 | 266 | ||
| 270 | Hide-Ifdef mode is a buffer-local minor mode for use with C and | 267 | Hide-Ifdef mode is a buffer-local minor mode for use with C and |
| 271 | C-like major modes. When enabled, code within #ifdef constructs | 268 | C-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. |
| 935 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 936 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 937 | if ARG is omitted or nil. | ||
| 938 | 935 | ||
| 939 | When hideshow minor mode is on, the menu bar is augmented with hideshow | 936 | When hideshow minor mode is on, the menu bar is augmented with hideshow |
| 940 | commands and the hideshow commands are enabled. | 937 | commands 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. |
| 4254 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 4255 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 4256 | if ARG is omitted or nil. | ||
| 4257 | 4254 | ||
| 4258 | When Idlwave Shell Electric Debug mode is enabled, the Idlwave | 4255 | When Idlwave Shell Electric Debug mode is enabled, the Idlwave |
| 4259 | Shell debugging commands are available as single key sequences." | 4256 | Shell 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. |
| 1408 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 1409 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 1410 | if ARG is omitted or nil. | ||
| 1411 | 1408 | ||
| 1412 | When enabled, portions of the text being edited may be made | 1409 | When enabled, portions of the text being edited may be made |
| 1413 | invisible.\\<pascal-outline-map> | 1410 | invisible.\\<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. |
| 199 | With a prefix argument ARG, enable Prettify Symbols mode if ARG is | ||
| 200 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 201 | the mode if ARG is omitted or nil. | ||
| 202 | 199 | ||
| 203 | When Prettify Symbols mode and font-locking are enabled, symbols are | 200 | When Prettify Symbols mode and font-locking are enabled, symbols are |
| 204 | prettified (displayed as composed characters) according to the rules | 201 | prettified (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). |
| 96 | With a prefix argument ARG, enable Subword mode if ARG is | ||
| 97 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 98 | the mode if ARG is omitted or nil. | ||
| 99 | 96 | ||
| 100 | Subword mode is a buffer-local minor mode. Enabling it changes | 97 | Subword mode is a buffer-local minor mode. Enabling it changes |
| 101 | the definition of a word so that word-based commands stop inside | 98 | the 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). |
| 272 | With a prefix argument ARG, enable Superword mode if ARG is | ||
| 273 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 274 | the mode if ARG is omitted or nil. | ||
| 275 | 269 | ||
| 276 | Superword mode is a buffer-local minor mode. Enabling it changes | 270 | Superword mode is a buffer-local minor mode. Enabling it changes |
| 277 | the definition of words such that symbols characters are treated | 271 | the 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." |
| 8711 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 8712 | and disable it otherwise. If called from Lisp, enable it if ARG | ||
| 8713 | is 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." |
| 8718 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 8719 | and disable it otherwise. If called from Lisp, enable it if ARG | ||
| 8720 | is 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). |
| 250 | With a prefix argument ARG, enable Which Function mode if ARG is | ||
| 251 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 252 | the mode if ARG is omitted or nil. | ||
| 253 | 250 | ||
| 254 | Which Function mode is a global minor mode. When enabled, the | 251 | Which Function mode is a global minor mode. When enabled, the |
| 255 | current function name is continuously displayed in the mode line, | 252 | current 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). |
| 1345 | With a prefix argument ARG, enable Recentf mode if ARG is | ||
| 1346 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1347 | Recentf mode if ARG is omitted or nil. | ||
| 1348 | 1345 | ||
| 1349 | When Recentf mode is enabled, a \"Open Recent\" submenu is | 1346 | When Recentf mode is enabled, a \"Open Recent\" submenu is |
| 1350 | displayed in the \"File\" menu, containing a list of files that | 1347 | displayed 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 | |||
| 607 | Activates the region if needed. Only lasts until the region is deactivated." | 608 | Activates 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). |
| 194 | With a prefix argument ARG, enable Reveal mode if ARG is | ||
| 195 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 196 | Reveal mode if ARG is omitted or nil. | ||
| 197 | 194 | ||
| 198 | Reveal mode is a buffer-local minor mode. When enabled, it | 195 | Reveal mode is a buffer-local minor mode. When enabled, it |
| 199 | reveals invisible text around point." | 196 | reveals 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). |
| 213 | Reveal mode renders invisible text around point visible again. | 210 | Reveal mode renders invisible text around point visible again." |
| 214 | |||
| 215 | With a prefix argument ARG, enable Global Reveal mode if ARG is | ||
| 216 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 217 | the 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). |
| 212 | With a prefix argument ARG, enable File-Name Shadow mode if ARG | ||
| 213 | is positive, and disable it otherwise. If called from Lisp, | ||
| 214 | enable the mode if ARG is omitted or nil. | ||
| 215 | 212 | ||
| 216 | File-Name Shadow mode is a global minor mode. When enabled, any | 213 | File-Name Shadow mode is a global minor mode. When enabled, any |
| 217 | part of a filename being read in the minibuffer that would be | 214 | part 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)." |
| 595 | With a prefix argument ARG, enable Ruler mode if ARG is positive, | ||
| 596 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 597 | if 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). |
| 174 | With a prefix argument ARG, enable Savehist mode if ARG is | ||
| 175 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 176 | the mode if ARG is omitted or nil. | ||
| 177 | 174 | ||
| 178 | When Savehist mode is enabled, minibuffer history is saved | 175 | When Savehist mode is enabled, minibuffer history is saved |
| 179 | periodically and when exiting Emacs. When Savehist mode is | 176 | periodically 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 | |||
| 160 | or exit Emacs. Visiting this file again will go to that position, | 160 | or exit Emacs. Visiting this file again will go to that position, |
| 161 | even in a later Emacs session. | 161 | even in a later Emacs session. |
| 162 | 162 | ||
| 163 | If called with a prefix arg, the mode is enabled if and only if | ||
| 164 | the argument is positive. | ||
| 165 | |||
| 166 | To save places automatically in all files, put this in your init | 163 | To save places automatically in all files, put this in your init |
| 167 | file: | 164 | file: |
| 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). |
| 105 | With a prefix argument ARG, enable Scroll-All mode if ARG is | ||
| 106 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 107 | the mode if ARG is omitted or nil. | ||
| 108 | 105 | ||
| 109 | When Scroll-All mode is enabled, scrolling commands invoked in | 106 | When Scroll-All mode is enabled, scrolling commands invoked in |
| 110 | one window apply to all visible windows in the same frame." | 107 | one 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). |
| 136 | With a prefix argument ARG, enable Scroll Bar mode if ARG is | ||
| 137 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 138 | the mode if ARG is omitted or nil. | ||
| 139 | 136 | ||
| 140 | This command applies to all frames that exist and frames to be | 137 | This command applies to all frames that exist and frames to be |
| 141 | created in the future." | 138 | created 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). |
| 155 | With a prefix argument ARG, enable Horizontal Scroll Bar mode if | ||
| 156 | ARG is positive, and disable it otherwise. If called from Lisp, | ||
| 157 | enable the mode if ARG is omitted or nil. | ||
| 158 | 152 | ||
| 159 | This command applies to all frames that exist and frames to be | 153 | This command applies to all frames that exist and frames to be |
| 160 | created in the future." | 154 | created 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. |
| 52 | With a prefix argument ARG, enable the mode if ARG is positive, | 52 | |
| 53 | and disable it otherwise. If called from Lisp, enable the mode | 53 | When enabled, keys that normally move point by line or paragraph |
| 54 | if ARG is omitted or nil. When enabled, keys that normally move | 54 | will scroll the buffer by the respective amount of lines instead |
| 55 | point by line or paragraph will scroll the buffer by the | 55 | and point will be kept vertically fixed relative to window |
| 56 | respective amount of lines instead and point will be kept | 56 | boundaries during scrolling." |
| 57 | vertically 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. |
| 780 | With a prefix argument ARG, enable Server mode if ARG is | ||
| 781 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 782 | Server mode if ARG is omitted or nil. | ||
| 783 | 780 | ||
| 784 | Server mode runs a process that accepts commands from the | 781 | Server 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). |
| 970 | With a prefix argument ARG, enable Shell Dirtrack mode if ARG is | ||
| 971 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 972 | the mode if ARG is omitted or nil. | ||
| 973 | 970 | ||
| 974 | The `dirtrack' package provides an alternative implementation of | 971 | The `dirtrack' package provides an alternative implementation of |
| 975 | this feature; see the function `dirtrack-mode'." | 972 | this 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. |
| 404 | With a prefix argument ARG, enable mode if ARG is positive, and | 404 | |
| 405 | disable it otherwise. If called from Lisp, enable mode if ARG is | ||
| 406 | omitted or nil. | ||
| 407 | When turned on, cursor motion in the compilation, grep, occur or diff | 405 | When turned on, cursor motion in the compilation, grep, occur or diff |
| 408 | buffer causes automatic display of the corresponding source code location." | 406 | buffer 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. |
| 5820 | With a prefix argument ARG, enable Transient Mark mode if ARG is | ||
| 5821 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 5822 | Transient Mark mode if ARG is omitted or nil. | ||
| 5823 | 5818 | ||
| 5824 | Transient Mark mode is a global minor mode. When enabled, the | 5819 | Transient Mark mode is a global minor mode. When enabled, the |
| 5825 | region is highlighted with the `region' face whenever the mark | 5820 | region 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. |
| 6857 | Interactively, with a prefix argument, enable | ||
| 6858 | Visual Line mode if the prefix argument is positive, | ||
| 6859 | and disable it otherwise. If called from Lisp, toggle | ||
| 6860 | the mode if ARG is `toggle', disable the mode if ARG is | ||
| 6861 | a non-positive integer, and enable the mode otherwise | ||
| 6862 | \(including if ARG is omitted or nil or a positive integer). | ||
| 6863 | 6852 | ||
| 6864 | When Visual Line mode is enabled, `word-wrap' is turned on in | 6853 | When Visual Line mode is enabled, `word-wrap' is turned on in |
| 6865 | this buffer, and simple editing commands are redefined to act on | 6854 | this 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). |
| 7293 | Interactively, with a prefix argument, enable | ||
| 7294 | Auto Fill mode if the prefix argument is positive, | ||
| 7295 | and disable it otherwise. If called from Lisp, toggle | ||
| 7296 | the mode if ARG is `toggle', disable the mode if ARG is | ||
| 7297 | a non-positive integer, and enable the mode otherwise | ||
| 7298 | \(including if ARG is omitted or nil or a positive integer). | ||
| 7299 | 7282 | ||
| 7300 | When Auto Fill mode is enabled, inserting a space at a column | 7283 | When Auto Fill mode is enabled, inserting a space at a column |
| 7301 | beyond `current-fill-column' automatically breaks the line at a | 7284 | beyond `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. |
| 7413 | With a prefix argument ARG, enable Overwrite mode if ARG is | ||
| 7414 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 7415 | the mode if ARG is omitted or nil. | ||
| 7416 | 7396 | ||
| 7417 | When Overwrite mode is enabled, printing characters typed in | 7397 | When Overwrite mode is enabled, printing characters typed in |
| 7418 | replace existing text on a one-for-one basis, rather than pushing | 7398 | replace 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. |
| 7429 | With a prefix argument ARG, enable Binary Overwrite mode if ARG | ||
| 7430 | is positive, and disable it otherwise. If called from Lisp, | ||
| 7431 | enable the mode if ARG is omitted or nil. | ||
| 7432 | 7409 | ||
| 7433 | When Binary Overwrite mode is enabled, printing characters typed | 7410 | When Binary Overwrite mode is enabled, printing characters typed |
| 7434 | in replace existing text. Newlines are not treated specially, so | 7411 | in 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). |
| 7449 | With a prefix argument ARG, enable Line Number mode if ARG is | ||
| 7450 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 7451 | the mode if ARG is omitted or nil. | ||
| 7452 | 7426 | ||
| 7453 | Line numbers do not appear for very large buffers and buffers | 7427 | Line numbers do not appear for very large buffers and buffers |
| 7454 | with very long lines; see variables `line-number-display-limit' | 7428 | with 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)." |
| 7460 | With a prefix argument ARG, enable Column Number mode if ARG is | ||
| 7461 | positive, and disable it otherwise. | ||
| 7462 | |||
| 7463 | If 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)." |
| 7468 | With a prefix argument ARG, enable Size Indication mode if ARG is | ||
| 7469 | positive, and disable it otherwise. | ||
| 7470 | |||
| 7471 | If 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)." |
| 7476 | With a prefix argument ARG, enable Auto Save mode if ARG is | ||
| 7477 | positive, and disable it otherwise. | ||
| 7478 | |||
| 7479 | If 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. |
| 8690 | With a prefix argument ARG, enable this feature if ARG is | ||
| 8691 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 8692 | the mode if ARG is omitted or nil. | ||
| 8693 | 8652 | ||
| 8694 | On window systems, when this mode is on, Delete is mapped to C-d | 8653 | On window systems, when this mode is on, Delete is mapped to C-d |
| 8695 | and Backspace is mapped to DEL; when this mode is off, both | 8654 | and 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. |
| 8769 | With prefix argument ARG, make the buffer read-only if ARG is | 8728 | |
| 8770 | positive, otherwise make it writable. If buffer is read-only | 8729 | If buffer is read-only and `view-read-only' is non-nil, enter |
| 8771 | and `view-read-only' is non-nil, enter view mode. | 8730 | view mode. |
| 8772 | 8731 | ||
| 8773 | Do not call this from a Lisp program unless you really intend to | 8732 | Do not call this from a Lisp program unless you really intend to |
| 8774 | do the same thing as the \\[read-only-mode] command, including | 8733 | do 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). |
| 8795 | With a prefix argument ARG, enable Visible mode if ARG is | ||
| 8796 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 8797 | the mode if ARG is omitted or nil. | ||
| 8798 | 8754 | ||
| 8799 | This mode works by saving the value of `buffer-invisibility-spec' | 8755 | This mode works by saving the value of `buffer-invisibility-spec' |
| 8800 | and setting it to nil." | 8756 | and 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. |
| 1391 | With a prefix argument ARG, enable Strokes mode if ARG is | ||
| 1392 | positive, and disable it otherwise. If called from Lisp, | ||
| 1393 | enable the mode if ARG is omitted or nil. | ||
| 1394 | 1391 | ||
| 1395 | \\<strokes-mode-map> | 1392 | \\<strokes-mode-map> |
| 1396 | Strokes are pictographic mouse gestures which invoke commands. | 1393 | Strokes 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). |
| 70 | With a prefix argument ARG, enable GPM Mouse mode if ARG is | ||
| 71 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 72 | the mode if ARG is omitted or nil. | ||
| 73 | 70 | ||
| 74 | This allows the use of the mouse when operating on a GNU/Linux console, | 71 | This allows the use of the mouse when operating on a GNU/Linux console, |
| 75 | in the same way as you can use the mouse under X11. | 72 | in 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. |
| 765 | With a prefix argument ARG, enable the mode if ARG is positive, | 765 | |
| 766 | and disable it otherwise. If called from Lisp, enable the mode | 766 | This mode arranges for \"saving\" this buffer to write the data |
| 767 | if ARG is omitted or nil. This mode arranges for \"saving\" this | 767 | into the tar-file buffer that it came from. The changes will |
| 768 | buffer to write the data into the tar-file buffer that it came | 768 | actually appear on disk when you save the tar-file's buffer." |
| 769 | from. The changes will actually appear on disk when you save the | ||
| 770 | tar-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. |
| 104 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 105 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 106 | if ARG is omitted or nil. | ||
| 107 | 104 | ||
| 108 | In alternate keypad mode, the keys send distinct escape | 105 | In alternate keypad mode, the keys send distinct escape |
| 109 | sequences, meaning that they can have their own bindings, | 106 | sequences, 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." |
| 43 | With a prefix argument ARG, switch to 132-column mode if ARG is | ||
| 44 | positive, and 80-column mode otherwise. If called from Lisp, | ||
| 45 | switch 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. |
| 1201 | With argument ARG, turn Artist mode on if ARG is positive. | 1201 | |
| 1202 | Artist lets you draw lines, squares, rectangles and poly-lines, | 1202 | Artist lets you draw lines, squares, rectangles and poly-lines, |
| 1203 | ellipses and circles with your mouse and/or keyboard. | 1203 | ellipses 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...).") | |||
| 210 | These are files with embedded formatting information in the MIME standard | 210 | These are files with embedded formatting information in the MIME standard |
| 211 | text/enriched format. | 211 | text/enriched format. |
| 212 | 212 | ||
| 213 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 214 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 215 | if ARG is omitted or nil. | ||
| 216 | |||
| 217 | Turning the mode on or off runs `enriched-mode-hook'. | 213 | Turning the mode on or off runs `enriched-mode-hook'. |
| 218 | 214 | ||
| 219 | More information about Enriched mode is available in the file | 215 | More 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). |
| 508 | With a prefix argument ARG, enable Flyspell mode if ARG is | ||
| 509 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 510 | the mode if ARG is omitted or nil. | ||
| 511 | 508 | ||
| 512 | Flyspell mode is a buffer-local minor mode. When enabled, it | 509 | Flyspell mode is a buffer-local minor mode. When enabled, it |
| 513 | spawns a single Ispell process and checks each word. The default | 510 | spawns 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). |
| 3698 | With a prefix argument ARG, enable Ispell minor mode if ARG is | ||
| 3699 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 3700 | the mode if ARG is omitted or nil. | ||
| 3701 | 3698 | ||
| 3702 | Ispell minor mode is a buffer-local minor mode. When enabled, | 3699 | Ispell minor mode is a buffer-local minor mode. When enabled, |
| 3703 | typing SPC or RET warns you if the previous word is incorrectly | 3700 | typing 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). |
| 301 | With a prefix argument ARG, enable Nroff Electric mode if ARG is | ||
| 302 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 303 | the mode if ARG is omitted or nil. | ||
| 304 | 301 | ||
| 305 | Nroff Electric mode is a buffer-local minor mode, for use with | 302 | Nroff 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. |
| 39 | With a prefix argument ARG, enable the feature if ARG is | ||
| 40 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 41 | it if ARG is omitted or nil. | ||
| 42 | 39 | ||
| 43 | When enabled, the functions `newline' and `open-line' add the | 40 | When enabled, the functions `newline' and `open-line' add the |
| 44 | text-property `hard' to newlines that they insert, and a line is | 41 | text-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). |
| 216 | With a prefix argument ARG, enable Refill mode if ARG is | ||
| 217 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 218 | the mode if ARG is omitted or nil. | ||
| 219 | 216 | ||
| 220 | Refill mode is a buffer-local minor mode. When enabled, the | 217 | Refill mode is a buffer-local minor mode. When enabled, the |
| 221 | current paragraph is refilled as you edit. Self-inserting | 218 | current 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. |
| 1414 | With a prefix argument ARG, enable ReST minor mode if ARG is | ||
| 1415 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1416 | the mode if ARG is omitted or nil. | ||
| 1417 | 1414 | ||
| 1418 | When ReST minor mode is enabled, the ReST mode keybindings | 1415 | When ReST minor mode is enabled, the ReST mode keybindings |
| 1419 | are installed on top of the major mode bindings. Use this | 1416 | are 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. |
| 944 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 945 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 946 | if ARG is omitted or nil. | ||
| 947 | 944 | ||
| 948 | SGML Electric Tag Pair mode is a buffer-local minor mode for use | 945 | SGML Electric Tag Pair mode is a buffer-local minor mode for use |
| 949 | with `sgml-mode' and related major modes. When enabled, editing | 946 | with `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). |
| 2382 | With a prefix argument ARG, enable HTML Autoview mode if ARG is | ||
| 2383 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 2384 | the mode if ARG is omitted or nil. | ||
| 2385 | 2379 | ||
| 2386 | HTML Autoview mode is a buffer-local minor mode for use with | 2380 | HTML 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. |
| 716 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 717 | and disable it otherwise. If called from Lisp, enable it if ARG | ||
| 718 | is omitted or nil. | ||
| 719 | 716 | ||
| 720 | Latex Electric Env Pair mode is a buffer-local minor mode for use | 717 | Latex Electric Env Pair mode is a buffer-local minor mode for use |
| 721 | with `latex-mode'. When enabled, typing a \\begin or \\end tag | 718 | with `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. |
| 491 | With a prefix argument ARG, enable Display Time mode if ARG is | ||
| 492 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 493 | it if ARG is omitted or nil. | ||
| 494 | 491 | ||
| 495 | When Display Time mode is enabled, it updates every minute (you | 492 | When Display Time mode is enabled, it updates every minute (you |
| 496 | can control the number of seconds between updates by customizing | 493 | can 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). |
| 47 | With a prefix argument ARG, enable Tool Bar mode if ARG is | ||
| 48 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 49 | Tool Bar mode if ARG is omitted or nil. | ||
| 50 | 47 | ||
| 51 | See `tool-bar-add-item' and `tool-bar-add-item-from-menu' for | 48 | See `tool-bar-add-item' and `tool-bar-add-item-from-menu' for |
| 52 | conveniently adding tool bar items." | 49 | conveniently 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. |
| 45 | With a prefix argument ARG, enable Tooltip mode if ARG is positive, | ||
| 46 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 47 | if ARG is omitted or nil. | ||
| 48 | 45 | ||
| 49 | When this global minor mode is enabled, Emacs displays help | 46 | When this global minor mode is enabled, Emacs displays help |
| 50 | text (e.g. for buttons and menu items that you put the mouse on) | 47 | text (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 | |||
| 287 | to find a good breaking point in his or her work, but be sufficiently | 287 | to find a good breaking point in his or her work, but be sufficiently |
| 288 | annoying to discourage putting typing breaks off indefinitely. | 288 | annoying to discourage putting typing breaks off indefinitely. |
| 289 | 289 | ||
| 290 | A negative prefix argument disables this mode. | ||
| 291 | No argument or any non-negative argument enables it. | ||
| 292 | |||
| 293 | The user may enable or disable this mode by setting the variable of the | 290 | The user may enable or disable this mode by setting the variable of the |
| 294 | same name, though setting it in that way doesn't reschedule a break or | 291 | same name, though setting it in that way doesn't reschedule a break or |
| 295 | reset the keystroke counter. | 292 | reset 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. |
| 409 | With a prefix argument ARG, enable these warnings if ARG is | ||
| 410 | positive, and disable them otherwise. If called from Lisp, | ||
| 411 | enable them if ARG is omitted or nil. | ||
| 412 | 406 | ||
| 413 | The user may also enable or disable this mode simply by setting | 407 | The user may also enable or disable this mode simply by setting |
| 414 | the variable of the same name. | 408 | the 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. |
| 426 | With a prefix argument ARG, enable these queries if ARG is | ||
| 427 | positive, and disable them otherwise. If called from Lisp, | ||
| 428 | enable them if ARG is omitted or nil. | ||
| 429 | 420 | ||
| 430 | The user may also enable or disable this mode simply by setting | 421 | The user may also enable or disable this mode simply by setting |
| 431 | the variable of the same name." | 422 | the 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." |
| 47 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 48 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 49 | if 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)." |
| 106 | With a prefix argument ARG, enable URL Handler mode if ARG is | ||
| 107 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 108 | the 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). |
| 219 | With a prefix argument ARG, enable Diff Auto Refine mode if ARG | ||
| 220 | is positive, and disable it otherwise. If called from Lisp, | ||
| 221 | enable the mode if ARG is omitted or nil. | ||
| 222 | 219 | ||
| 223 | Diff Auto Refine mode is a buffer-local minor mode used with | 220 | Diff 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. |
| 1427 | With a prefix argument ARG, enable Diff minor mode if ARG is | ||
| 1428 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 1429 | the 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. |
| 1401 | With a prefix argument ARG, enable the mode if ARG is positive, | 1401 | |
| 1402 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 1403 | if 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. |
| 818 | With a prefix argument ARG, enable it if ARG is positive, and disable | 818 | |
| 819 | it otherwise. If called from Lisp, enable it if ARG is omitted or nil. | ||
| 820 | When on, the keys defined in it are mapped directly on top of the main | 819 | When on, the keys defined in it are mapped directly on top of the main |
| 821 | keymap, allowing you to move the vcursor with ordinary motion keys. | 820 | keymap, allowing you to move the vcursor with ordinary motion keys. |
| 822 | An indication \"!VC\" appears in the mode list. The effect is | 821 | An 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. |
| 384 | With a prefix argument ARG, enable View mode if ARG is positive, | ||
| 385 | and disable it otherwise. If called from Lisp, enable View mode | ||
| 386 | if ARG is omitted or nil. | ||
| 387 | 384 | ||
| 388 | When View mode is enabled, commands that do not change the buffer | 385 | When View mode is enabled, commands that do not change the buffer |
| 389 | contents are available as usual. Kill commands insert text in | 386 | contents 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). |
| 927 | With a prefix argument ARG, enable Whitespace mode if ARG is | ||
| 928 | positive, and disable it otherwise. | ||
| 929 | |||
| 930 | If called from Lisp, also enables the mode if ARG is omitted or nil, | ||
| 931 | and toggles it if ARG is `toggle'. | ||
| 932 | 927 | ||
| 933 | See also `whitespace-style', `whitespace-newline' and | 928 | See 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). |
| 952 | With a prefix argument ARG, enable Whitespace Newline mode if ARG | ||
| 953 | is positive, and disable it otherwise. | ||
| 954 | |||
| 955 | If called from Lisp, also enables the mode if ARG is omitted or nil, | ||
| 956 | and toggles it if ARG is `toggle'. | ||
| 957 | 947 | ||
| 958 | Use `whitespace-newline-mode' only for NEWLINE visualization | 948 | Use `whitespace-newline-mode' only for NEWLINE visualization |
| 959 | exclusively. For other visualizations, including NEWLINE | 949 | exclusively. 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). |
| 982 | With a prefix argument ARG, enable Global Whitespace mode if ARG | ||
| 983 | is positive, and disable it otherwise. | ||
| 984 | |||
| 985 | If called from Lisp, also enables the mode if ARG is omitted or nil, | ||
| 986 | and toggles it if ARG is `toggle'. | ||
| 987 | 972 | ||
| 988 | See also `whitespace-style', `whitespace-newline' and | 973 | See 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). |
| 1043 | With a prefix argument ARG, enable Global Whitespace Newline mode | ||
| 1044 | if ARG is positive, and disable it otherwise. | ||
| 1045 | |||
| 1046 | If called from Lisp, also enables the mode if ARG is omitted or nil, | ||
| 1047 | and toggles it if ARG is `toggle'. | ||
| 1048 | 1028 | ||
| 1049 | Use `global-whitespace-newline-mode' only for NEWLINE | 1029 | Use `global-whitespace-newline-mode' only for NEWLINE |
| 1050 | visualization exclusively. For other visualizations, including | 1030 | visualization 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." |
| 273 | With a prefix argument ARG, enable the mode if ARG is positive, | ||
| 274 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 275 | if 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. |
| 354 | With a prefix argument ARG, enable Winner mode if ARG is | ||
| 355 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 356 | the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'. | ||
| 357 | 354 | ||
| 358 | Winner mode is a global minor mode that records the changes in | 355 | Winner mode is a global minor mode that records the changes in |
| 359 | the window configuration (i.e. how the frames are partitioned | 356 | the 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. |
| 315 | With a prefix argument ARG, enable XTerm mouse mode if ARG is | ||
| 316 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 317 | the mode if ARG is omitted or nil. | ||
| 318 | 315 | ||
| 319 | Turn it on to use Emacs mouse commands, and off to use xterm mouse commands. | 316 | Turn it on to use Emacs mouse commands, and off to use xterm mouse commands. |
| 320 | This works in terminal emulators compatible with xterm. It only | 317 | This works in terminal emulators compatible with xterm. It only |