mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
Customized.
(only-global-abbrevs): Doc fix.
This commit is contained in:
parent
811fd07a2f
commit
1d1e35a0d6
@ -27,9 +27,12 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(defvar only-global-abbrevs nil "\
|
||||
*t means user plans to use global abbrevs only.
|
||||
Makes the commands to define mode-specific abbrevs define global ones instead.")
|
||||
(defcustom only-global-abbrevs nil
|
||||
"*t means user plans to use global abbrevs only.
|
||||
This makes the commands that normally define mode-specific abbrevs
|
||||
define global abbrevs instead."
|
||||
:type 'boolean
|
||||
:group 'abbrev-mode)
|
||||
|
||||
(defun abbrev-mode (arg)
|
||||
"Toggle abbrev mode.
|
||||
@ -41,6 +44,17 @@ and be replaced by its expansion."
|
||||
(if (null arg) (not abbrev-mode)
|
||||
(> (prefix-numeric-value arg) 0)))
|
||||
(force-mode-line-update))
|
||||
|
||||
(defcustom abbrev-mode nil
|
||||
"Toggle abbrev mode.
|
||||
In abbrev mode, inserting an abbreviation causes it to expand
|
||||
and be replaced by its expansion.
|
||||
You must modify via \\[customize] for this variable to have an effect."
|
||||
:set (lambda (symbol value)
|
||||
(abbrev-mode (if value 1 0)))
|
||||
:type 'boolean
|
||||
:group 'abbrev-mode)
|
||||
|
||||
|
||||
(defvar edit-abbrevs-map nil
|
||||
"Keymap used in edit-abbrevs.")
|
||||
|
Loading…
Reference in New Issue
Block a user