summaryrefslogtreecommitdiff
path: root/lisp/dabbrev.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-12-24 21:39:16 +0000
committerRichard M. Stallman <rms@gnu.org>1994-12-24 21:39:16 +0000
commit3e9f6649a1a5b50c78a3a8b3035cd3fb6d0ebca0 (patch)
tree5b8ec3d3d9a90c491e01d308f5d7a266a12451e0 /lisp/dabbrev.el
parente8e10951ed6050eec740b24e25d22eae62f0796d (diff)
downloademacs-3e9f6649a1a5b50c78a3a8b3035cd3fb6d0ebca0.tar.gz
(dabbrev-abbrev-char-regexp): Accept symbol chars
as well as word constituent chars.
Diffstat (limited to 'lisp/dabbrev.el')
-rw-r--r--lisp/dabbrev.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el
index 486496a9a48..5c7c37fe54d 100644
--- a/lisp/dabbrev.el
+++ b/lisp/dabbrev.el
@@ -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.