From 21a360b2c300ec8348632331a7f6c2f643a77a0e Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 26 Apr 2006 05:16:01 +0000 Subject: [PATCH] (abbrev-mode): Tighten up a bit the safety predicate. --- lisp/abbrev.el | 4 ++-- 1 file 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 -- 2.39.2