diff options
| author | Chong Yidong | 2011-10-19 20:26:14 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-10-19 20:26:14 -0400 |
| commit | ac6c8639bdb115cf57c65a383b4564aa98505389 (patch) | |
| tree | 7271460be2206ea711f46b06e895b6b701976769 /lisp/erc | |
| parent | aa42ab43f2e3ea06adb21f82abb3d4c502bc9d40 (diff) | |
| download | emacs-ac6c8639bdb115cf57c65a383b4564aa98505389.tar.gz emacs-ac6c8639bdb115cf57c65a383b4564aa98505389.zip | |
Fix more minor mode docstrings.
* lisp/emulation/cua-base.el (cua-mode):
* lisp/mail/footnote.el (footnote-mode):
* lisp/mail/mailabbrev.el (mail-abbrevs-mode):
* lisp/net/xesam.el (xesam-minor-mode):
* lisp/progmodes/bug-reference.el (bug-reference-mode):
* lisp/progmodes/cap-words.el (capitalized-words-mode):
* lisp/progmodes/compile.el (compilation-minor-mode)
(compilation-shell-minor-mode):
* lisp/progmodes/gud.el (gud-tooltip-mode):
* lisp/progmodes/hideif.el (hide-ifdef-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
* lisp/progmodes/subword.el (subword-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
* lisp/progmodes/which-func.el (which-function-mode):
* lisp/term/tvi970.el (tvi970-set-keypad-mode):
* lisp/term/vt100.el (vt100-wide-mode):
* lisp/textmodes/flyspell.el (flyspell-mode):
* lisp/textmodes/ispell.el (ispell-minor-mode):
* lisp/textmodes/nroff-mode.el (nroff-electric-mode):
* lisp/textmodes/paragraphs.el (use-hard-newlines):
* lisp/textmodes/refill.el (refill-mode):
* lisp/textmodes/reftex.el (reftex-mode):
* lisp/textmodes/rst.el (rst-minor-mode):
* lisp/textmodes/sgml-mode.el (html-autoview-mode)
(sgml-electric-tag-pair-mode):
* lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
* lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
* lisp/emulation/crisp.el (crisp-mode):
* lisp/emacs-lisp/eldoc.el (eldoc-mode):
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
minor mode behavior.
* lisp/erc/erc-fill.el (erc-fill-mode):
* lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
* lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
reflect Emacs 24 minor mode changes.
* lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
calling a minor mode from Lisp with nil arg enables it, so we have to
make the working a bit ambiguous here).
Diffstat (limited to 'lisp/erc')
| -rw-r--r-- | lisp/erc/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/erc/erc-fill.el | 9 | ||||
| -rw-r--r-- | lisp/erc/erc-track.el | 15 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 4 |
4 files changed, 26 insertions, 10 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 7c7f10de2c8..d72d3f51bb1 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2011-10-20 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * erc.el (define-erc-module): Fix autogenerated docstring to | ||
| 4 | reflect Emacs 24 minor mode changes. | ||
| 5 | |||
| 6 | * erc-fill.el (erc-fill-mode): | ||
| 7 | * erc-track.el (erc-track-minor-mode): Doc fix. | ||
| 8 | |||
| 1 | 2011-09-23 Antoine Levitt <antoine.levitt@gmail.com> | 9 | 2011-09-23 Antoine Levitt <antoine.levitt@gmail.com> |
| 2 | 10 | ||
| 3 | * erc-button.el (erc-button-next-function): Scoping fix | 11 | * erc-button.el (erc-button-next-function): Scoping fix |
diff --git a/lisp/erc/erc-fill.el b/lisp/erc/erc-fill.el index 0b9a4051d65..3940cfbc9a4 100644 --- a/lisp/erc/erc-fill.el +++ b/lisp/erc/erc-fill.el | |||
| @@ -39,9 +39,12 @@ | |||
| 39 | ;;;###autoload (autoload 'erc-fill-mode "erc-fill" nil t) | 39 | ;;;###autoload (autoload 'erc-fill-mode "erc-fill" nil t) |
| 40 | (erc-define-minor-mode erc-fill-mode | 40 | (erc-define-minor-mode erc-fill-mode |
| 41 | "Toggle ERC fill mode. | 41 | "Toggle ERC fill mode. |
| 42 | With numeric arg, turn ERC fill mode on if and only if arg is | 42 | With a prefix argument ARG, enable ERC fill mode if ARG is |
| 43 | positive. In ERC fill mode, messages in the channel buffers are | 43 | positive, and disable it otherwise. If called from Lisp, enable |
| 44 | filled." | 44 | the mode if ARG is omitted or nil. |
| 45 | |||
| 46 | ERC fill mode is a global minor mode. When enabled, messages in | ||
| 47 | the channel buffers are filled." | ||
| 45 | nil nil nil | 48 | nil nil nil |
| 46 | :global t :group 'erc-fill | 49 | :global t :group 'erc-fill |
| 47 | (if erc-fill-mode | 50 | (if erc-fill-mode |
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el index 28c1ced91c6..b663aeed423 100644 --- a/lisp/erc/erc-track.el +++ b/lisp/erc/erc-track.el | |||
| @@ -588,12 +588,15 @@ START is the minimum length of the name used." | |||
| 588 | 588 | ||
| 589 | ;;;###autoload | 589 | ;;;###autoload |
| 590 | (define-minor-mode erc-track-minor-mode | 590 | (define-minor-mode erc-track-minor-mode |
| 591 | "Global minor mode for tracking ERC buffers and showing activity in the | 591 | "Toggle mode line display of ERC activity (ERC Track minor mode). |
| 592 | mode line. | 592 | With a prefix argument ARG, enable ERC Track minor mode if ARG is |
| 593 | 593 | positive, and disable it otherwise. If called from Lisp, enable | |
| 594 | This exists for the sole purpose of providing the C-c C-SPC and | 594 | the mode if ARG is omitted or nil. |
| 595 | C-c C-@ keybindings. Make sure that you have enabled the track | 595 | |
| 596 | module, otherwise the keybindings will not do anything useful." | 596 | ERC Track minor mode is a global minor mode. It exists for the |
| 597 | sole purpose of providing the C-c C-SPC and C-c C-@ keybindings. | ||
| 598 | Make sure that you have enabled the track module, otherwise the | ||
| 599 | keybindings will not do anything useful." | ||
| 597 | :init-value nil | 600 | :init-value nil |
| 598 | :lighter "" | 601 | :lighter "" |
| 599 | :keymap erc-track-minor-mode-map | 602 | :keymap erc-track-minor-mode-map |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index a4040b239c1..2d8c2565f69 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -1242,7 +1242,9 @@ Example: | |||
| 1242 | (erc-define-minor-mode | 1242 | (erc-define-minor-mode |
| 1243 | ,mode | 1243 | ,mode |
| 1244 | ,(format "Toggle ERC %S mode. | 1244 | ,(format "Toggle ERC %S mode. |
| 1245 | With arg, turn ERC %S mode on if and only if arg is positive. | 1245 | With a prefix argument ARG, enable %s if ARG is positive, |
| 1246 | and disable it otherwise. If called from Lisp, enable the mode | ||
| 1247 | if ARG is omitted or nil. | ||
| 1246 | %s" name name doc) | 1248 | %s" name name doc) |
| 1247 | nil nil nil | 1249 | nil nil nil |
| 1248 | :global ,(not local-p) :group (quote ,group) | 1250 | :global ,(not local-p) :group (quote ,group) |