From: Stefan Monnier Date: Wed, 26 Apr 2006 05:16:01 +0000 (+0000) Subject: (abbrev-mode): Tighten up a bit the safety predicate. X-Git-Tag: emacs-pretest-22.0.90~2959 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=21a360b2c300ec8348632331a7f6c2f643a77a0e;p=emacs.git (abbrev-mode): Tighten up a bit the safety predicate. --- 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