aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-12-24 21:39:16 +0000
committerRichard M. Stallman1994-12-24 21:39:16 +0000
commit5eb6298247925311e7ef8df351c1f1415fa96437 (patch)
tree1a24b60b62b31761cf9b48ea0fb19bd29d386076
parentc9e2fc17aa889b1c2f2f5ccb58662b3b8eabd3f1 (diff)
downloademacs-5eb6298247925311e7ef8df351c1f1415fa96437.tar.gz
emacs-5eb6298247925311e7ef8df351c1f1415fa96437.zip
(dabbrev-abbrev-char-regexp): Accept symbol chars
as well as word constituent chars.
-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.
149This variable has an effect only when the value of 149This 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.
155This regexp will be surrounded with \\\\( ... \\\\) when actually used. 154This regexp will be surrounded with \\\\( ... \\\\) when actually used.
156 155