aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorChong Yidong2011-10-19 20:26:14 -0400
committerChong Yidong2011-10-19 20:26:14 -0400
commitac6c8639bdb115cf57c65a383b4564aa98505389 (patch)
tree7271460be2206ea711f46b06e895b6b701976769 /lisp/term
parentaa42ab43f2e3ea06adb21f82abb3d4c502bc9d40 (diff)
downloademacs-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/term')
-rw-r--r--lisp/term/tvi970.el17
-rw-r--r--lisp/term/vt100.el5
2 files changed, 13 insertions, 9 deletions
diff --git a/lisp/term/tvi970.el b/lisp/term/tvi970.el
index 5d852e52105..e154074a033 100644
--- a/lisp/term/tvi970.el
+++ b/lisp/term/tvi970.el
@@ -104,14 +104,17 @@
104 104
105;; Should keypad numbers send ordinary digits or distinct escape sequences? 105;; Should keypad numbers send ordinary digits or distinct escape sequences?
106(define-minor-mode tvi970-set-keypad-mode 106(define-minor-mode tvi970-set-keypad-mode
107 "Set the current mode of the TVI 970 numeric keypad. 107 "Toggle alternate keypad mode on TVI 970 keypad.
108In ``numeric keypad mode'', the number keys on the keypad act as 108With a prefix argument ARG, enable the mode if ARG is positive,
109ordinary digits. In ``alternate keypad mode'', the keys send distinct 109and disable it otherwise. If called from Lisp, enable the mode
110escape sequences, meaning that they can have their own bindings, 110if ARG is omitted or nil.
111
112In ``alternate keypad mode'', the keys send distinct escape
113sequences, meaning that they can have their own bindings,
111independent of the normal number keys. 114independent of the normal number keys.
112With no argument, toggle between the two possible modes. 115
113With a positive argument, select alternate keypad mode. 116When disabled, the terminal enters ``numeric keypad mode'', in
114With a negative argument, select numeric keypad mode." 117which the keypad's keys act as ordinary digits."
115 :variable (terminal-parameter nil 'tvi970-keypad-numeric) 118 :variable (terminal-parameter nil 'tvi970-keypad-numeric)
116 (send-string-to-terminal 119 (send-string-to-terminal
117 (if (terminal-parameter nil 'tvi970-keypad-numeric) "\e=" "\e>"))) 120 (if (terminal-parameter nil 'tvi970-keypad-numeric) "\e=" "\e>")))
diff --git a/lisp/term/vt100.el b/lisp/term/vt100.el
index 406c20a0e81..ca16f356b20 100644
--- a/lisp/term/vt100.el
+++ b/lisp/term/vt100.el
@@ -42,8 +42,9 @@
42;;; Controlling the screen width. 42;;; Controlling the screen width.
43(define-minor-mode vt100-wide-mode 43(define-minor-mode vt100-wide-mode
44 "Toggle 132/80 column mode for vt100s. 44 "Toggle 132/80 column mode for vt100s.
45With positive argument, switch to 132-column mode. 45With a prefix argument ARG, switch to 132-column mode if ARG is
46With negative argument, switch to 80-column mode." 46positive, and 80-column mode otherwise. If called from Lisp,
47switch to 132-column mode if ARG is omitted or nil."
47 :global t :init-value (= (frame-width) 132) 48 :global t :init-value (= (frame-width) 132)
48 (send-string-to-terminal (if vt100-wide-mode "\e[?3h" "\e[?3l")) 49 (send-string-to-terminal (if vt100-wide-mode "\e[?3h" "\e[?3l"))
49 (set-frame-width terminal-frame (if vt100-wide-mode 132 80))) 50 (set-frame-width terminal-frame (if vt100-wide-mode 132 80)))