changeset 24596:5f4d21e85cf6

(abbrev-mode): Customizing sets the default value.
author Richard M. Stallman <rms@gnu.org>
date Thu, 08 Apr 1999 16:26:38 +0000
parents 5b4c1048b2da
children a40067a8696b
files lisp/abbrev.el
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/abbrev.el	Thu Apr 08 12:43:48 1999 +0000
+++ b/lisp/abbrev.el	Thu Apr 08 16:26:38 1999 +0000
@@ -48,12 +48,12 @@
 
 (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)