summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-12 00:32:48 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-12 00:32:48 +0000
commit773f07291719117b6bfcfbff5a222f006fa74485 (patch)
tree5d2cb61be4f5aee89fd2e0d0f2166b8d63929492
parent433b8e2b44e19f749d032351830c8413ddea314a (diff)
downloademacs-773f07291719117b6bfcfbff5a222f006fa74485.tar.gz
(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
and the resulting value determines the decision.
For example: setting this to `case-fold-search' means evaluate that
variable to see whether its value is nil.")
+(put 'dabbrev-case-fold-search 'risky-local-variable t)
(defvar dabbrev-upcase-means-case-search nil
"*The significance of an uppercase character in an abbreviation.
@@ -141,6 +142,7 @@ variable to see if its value is t or nil.
This variable has an effect only when the value of
`dabbrev-case-fold-search' evaluates to t.")
+(put 'dabbrev-case-replace 'risky-local-variable t)
(defvar dabbrev-abbrev-char-regexp nil
"*Regexp to recognize a character in an abbreviation or expansion.