comparison lisp/dabbrev.el @ 15652:d6260a2af456

(dabbrev-case-fold-search, dabbrev-case-replace): Set risky-local-variable property, since these get eval'ed.
author Karl Heuer <kwzh@gnu.org>
date Fri, 12 Jul 1996 00:32:48 +0000
parents 180245e93214
children 022815791330
comparison
equal deleted inserted replaced
15651:b055a4ec9351 15652:d6260a2af456
119 119
120 The value of this variable is an expression; it is evaluated 120 The value of this variable is an expression; it is evaluated
121 and the resulting value determines the decision. 121 and the resulting value determines the decision.
122 For example: setting this to `case-fold-search' means evaluate that 122 For example: setting this to `case-fold-search' means evaluate that
123 variable to see whether its value is nil.") 123 variable 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.
127 nil means case fold search, non-nil means case sensitive search. 128 nil means case fold search, non-nil means case sensitive search.
128 129
139 For example, setting this to `case-replace' means evaluate that 140 For example, setting this to `case-replace' means evaluate that
140 variable to see if its value is t or nil. 141 variable to see if its value is t or nil.
141 142
142 This variable has an effect only when the value of 143 This 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.
147 This regexp will be surrounded with \\\\( ... \\\\) when actually used. 149 This regexp will be surrounded with \\\\( ... \\\\) when actually used.
148 150