comparison lisp/dabbrev.el @ 10241:4399cd366984

(dabbrev-abbrev-char-regexp): Accept symbol chars as well as word constituent chars.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Dec 1994 21:39:16 +0000
parents ace1fffa8d96
children bf1c7dcc69db
comparison
equal deleted inserted replaced
10240:72101c74e9e7 10241:4399cd366984
147 variable to see if its value is t or nil. 147 variable to see if its value is t or nil.
148 148
149 This variable has an effect only when the value of 149 This variable has an effect only when the value of
150 `dabbrev-case-fold-search' evaluates to t.") 150 `dabbrev-case-fold-search' evaluates to t.")
151 151
152 ;; I recommend that you set this to "\\sw\\|\\s_" 152 (defvar dabbrev-abbrev-char-regexp "\\sw\\|\\s_"
153 (defvar dabbrev-abbrev-char-regexp nil
154 "*Regexp to recognize a character in an abbreviation or expansion. 153 "*Regexp to recognize a character in an abbreviation or expansion.
155 This regexp will be surrounded with \\\\( ... \\\\) when actually used. 154 This regexp will be surrounded with \\\\( ... \\\\) when actually used.
156 155
157 Set this variable to \"\\\\sw\" if you want ordinary words or 156 Set this variable to \"\\\\sw\" if you want ordinary words or
158 \"\\\\sw\\\\|\\\\s_\" if you want symbols. 157 \"\\\\sw\\\\|\\\\s_\" if you want symbols.