Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/lisp/dabbrev.el Sat Dec 24 16:49:59 1994 +0000 +++ b/lisp/dabbrev.el Sat Dec 24 21:39:16 1994 +0000 @@ -149,8 +149,7 @@ This variable has an effect only when the value of `dabbrev-case-fold-search' evaluates to t.") -;; I recommend that you set this to "\\sw\\|\\s_" -(defvar dabbrev-abbrev-char-regexp nil +(defvar dabbrev-abbrev-char-regexp "\\sw\\|\\s_" "*Regexp to recognize a character in an abbreviation or expansion. This regexp will be surrounded with \\\\( ... \\\\) when actually used.