Mercurial > emacs
comparison lisp/abbrev.el @ 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 | d0b40f823255 |
children | bc18b027a049 |
comparison
equal
deleted
inserted
replaced
24595:5b4c1048b2da | 24596:5f4d21e85cf6 |
---|---|
46 (> (prefix-numeric-value arg) 0))) | 46 (> (prefix-numeric-value arg) 0))) |
47 (force-mode-line-update)) | 47 (force-mode-line-update)) |
48 | 48 |
49 (defcustom abbrev-mode nil | 49 (defcustom abbrev-mode nil |
50 "Toggle abbrev mode. | 50 "Toggle abbrev mode. |
51 In abbrev mode, inserting an abbreviation causes it to expand | 51 Non-nil means automatically expand abbrevs as they are inserted. |
52 and be replaced by its expansion. | 52 |
53 This variable should be set only with \\[customize], which is equivalent | 53 This variable automatically becomes buffer-local when set in any fashion. |
54 to using the function `abbrev-mode'." | 54 Changing it with \\[customize] sets the default value. |
55 :set (lambda (symbol value) | 55 Use the command `abbrev-mode' to enable or disable Abbrev mode in the current |
56 (abbrev-mode (if value 1 0))) | 56 buffer." |
57 :type 'boolean | 57 :type 'boolean |
58 :group 'abbrev-mode) | 58 :group 'abbrev-mode) |
59 | 59 |
60 | 60 |
61 (defvar edit-abbrevs-map nil | 61 (defvar edit-abbrevs-map nil |