diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-06-13 21:55:49 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-06-13 21:55:49 +0000 |
commit | 38002bffc7c201935ac4610b779ae0d98be35d62 (patch) | |
tree | 52acb4463e0578c3aec2612eb7c10a725577f73d /lisp/abbrev.el | |
parent | bfdd3ac8fdc269ef833fe029ff1d97358734ab5d (diff) | |
download | emacs-38002bffc7c201935ac4610b779ae0d98be35d62.tar.gz |
(abbrev-mode, edit-abbrevs-map): Doc fixes.
Diffstat (limited to 'lisp/abbrev.el')
-rw-r--r-- | lisp/abbrev.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el index 1e3eea0e359..3be0014fd0e 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el @@ -37,9 +37,9 @@ define global abbrevs instead." :group 'convenience) (defun abbrev-mode (&optional arg) - "Toggle abbrev mode. + "Toggle Abbrev mode in the current buffer. With argument ARG, turn abbrev mode on iff ARG is positive. -In abbrev mode, inserting an abbreviation causes it to expand +In Abbrev mode, inserting an abbreviation causes it to expand and be replaced by its expansion." (interactive "P") (setq abbrev-mode @@ -48,18 +48,19 @@ and be replaced by its expansion." (force-mode-line-update)) (defcustom abbrev-mode nil - "Toggle abbrev mode. + "Enable or disable Abbrev mode. Non-nil means automatically expand abbrevs as they are inserted. +Setting this variable with `setq' changes it for the current buffer. Changing it with \\[customize] sets the default value. -Use the command `abbrev-mode' to enable or disable Abbrev mode in the current -buffer." +Interactively, use the command `abbrev-mode' +to enable or disable Abbrev mode in the current buffer." :type 'boolean :group 'abbrev-mode) (defvar edit-abbrevs-map nil - "Keymap used in edit-abbrevs.") + "Keymap used in `edit-abbrevs'.") (if edit-abbrevs-map nil (setq edit-abbrevs-map (make-sparse-keymap)) |