changeset 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 72101c74e9e7
children 8fa35cc770be
files lisp/dabbrev.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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.