diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2006-04-26 05:16:01 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2006-04-26 05:16:01 +0000 |
commit | 21a360b2c300ec8348632331a7f6c2f643a77a0e (patch) | |
tree | b90a664e283bc0797259817e42d9d5d3c75c3ecb /lisp/abbrev.el | |
parent | 02f47e8630d483a99fc20f1011c252004658e05c (diff) | |
download | emacs-21a360b2c300ec8348632331a7f6c2f643a77a0e.tar.gz |
(abbrev-mode): Tighten up a bit the safety predicate.
Diffstat (limited to 'lisp/abbrev.el')
-rw-r--r-- | lisp/abbrev.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el index 9ba53f6f6f5..c0380058b53 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el @@ -58,7 +58,7 @@ Interactively, use the command `abbrev-mode' to enable or disable Abbrev mode in the current buffer." :type 'boolean :group 'abbrev-mode) -;;;###autoload(put 'abbrev-mode 'safe-local-variable t) +;;;###autoload(put 'abbrev-mode 'safe-local-variable 'symbolp) (defvar edit-abbrevs-map @@ -363,5 +363,5 @@ A prefix argument means don't query; expand all abbrevs." (if (or noquery (y-or-n-p (format "Expand `%s'? " string))) (expand-abbrev))))))) -;;; arch-tag: dbd6f3ae-dfe3-40ba-b00f-f9e3ff960df5 +;; arch-tag: dbd6f3ae-dfe3-40ba-b00f-f9e3ff960df5 ;;; abbrev.el ends here |