aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1996-07-12 00:32:48 +0000
committerKarl Heuer1996-07-12 00:32:48 +0000
commit8d47e7e5246700bfdd46918c8a1f2a2c265ecdc9 (patch)
tree531c83838ff1622418d90af2560eb8cf919bd0b0
parentded385e2a01439537afb9ff1d0ebb84cbe3a1fbb (diff)
downloademacs-8d47e7e5246700bfdd46918c8a1f2a2c265ecdc9.tar.gz
emacs-8d47e7e5246700bfdd46918c8a1f2a2c265ecdc9.zip
(dabbrev-case-fold-search, dabbrev-case-replace): Set
risky-local-variable property, since these get eval'ed.
-rw-r--r--lisp/dabbrev.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el
index 5de6097500d..ee3f1f55f29 100644
--- a/lisp/dabbrev.el
+++ b/lisp/dabbrev.el
@@ -121,6 +121,7 @@ The value of this variable is an expression; it is evaluated
121and the resulting value determines the decision. 121and the resulting value determines the decision.
122For example: setting this to `case-fold-search' means evaluate that 122For example: setting this to `case-fold-search' means evaluate that
123variable to see whether its value is nil.") 123variable to see whether its value is nil.")
124(put 'dabbrev-case-fold-search 'risky-local-variable t)
124 125
125(defvar dabbrev-upcase-means-case-search nil 126(defvar dabbrev-upcase-means-case-search nil
126 "*The significance of an uppercase character in an abbreviation. 127 "*The significance of an uppercase character in an abbreviation.
@@ -141,6 +142,7 @@ variable to see if its value is t or nil.
141 142
142This variable has an effect only when the value of 143This variable has an effect only when the value of
143`dabbrev-case-fold-search' evaluates to t.") 144`dabbrev-case-fold-search' evaluates to t.")
145(put 'dabbrev-case-replace 'risky-local-variable t)
144 146
145(defvar dabbrev-abbrev-char-regexp nil 147(defvar dabbrev-abbrev-char-regexp nil
146 "*Regexp to recognize a character in an abbreviation or expansion. 148 "*Regexp to recognize a character in an abbreviation or expansion.