]> git.eshelyaron.com Git - emacs.git/commitdiff
(dabbrev-abbrev-char-regexp): Accept symbol chars
authorRichard M. Stallman <rms@gnu.org>
Sat, 24 Dec 1994 21:39:16 +0000 (21:39 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 24 Dec 1994 21:39:16 +0000 (21:39 +0000)
as well as word constituent chars.

lisp/dabbrev.el

index 486496a9a48871fa1f24c3c03de360adf49ce28f..5c7c37fe54d2af659fead29f2b9ee9fd3c847a8c 100644 (file)
@@ -149,8 +149,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.")
 
-;; 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.