summaryrefslogtreecommitdiff
path: root/lisp/abbrev.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-04-08 16:26:38 +0000
committerRichard M. Stallman <rms@gnu.org>1999-04-08 16:26:38 +0000
commit5cf1c7acbf6b014075f7a9e5862ed87c68dd29f6 (patch)
tree75a996b7e652df0d2ff9452164a9b65960a5993a /lisp/abbrev.el
parentb9482d15fc48e2447c7f55122d94c8047e0261e4 (diff)
downloademacs-5cf1c7acbf6b014075f7a9e5862ed87c68dd29f6.tar.gz
(abbrev-mode): Customizing sets the default value.
Diffstat (limited to 'lisp/abbrev.el')
-rw-r--r--lisp/abbrev.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index 394f1ddd424..c6133be034f 100644
--- a/lisp/abbrev.el
+++ b/lisp/abbrev.el
@@ -48,12 +48,12 @@ and be replaced by its expansion."
(defcustom abbrev-mode nil
"Toggle abbrev mode.
-In abbrev mode, inserting an abbreviation causes it to expand
-and be replaced by its expansion.
-This variable should be set only with \\[customize], which is equivalent
-to using the function `abbrev-mode'."
- :set (lambda (symbol value)
- (abbrev-mode (if value 1 0)))
+Non-nil means automatically expand abbrevs as they are inserted.
+
+This variable automatically becomes buffer-local when set in any fashion.
+Changing it with \\[customize] sets the default value.
+Use the command `abbrev-mode' to enable or disable Abbrev mode in the current
+buffer."
:type 'boolean
:group 'abbrev-mode)