diff options
| author | Richard M. Stallman | 1994-12-24 21:39:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-12-24 21:39:16 +0000 |
| commit | 5eb6298247925311e7ef8df351c1f1415fa96437 (patch) | |
| tree | 1a24b60b62b31761cf9b48ea0fb19bd29d386076 | |
| parent | c9e2fc17aa889b1c2f2f5ccb58662b3b8eabd3f1 (diff) | |
| download | emacs-5eb6298247925311e7ef8df351c1f1415fa96437.tar.gz emacs-5eb6298247925311e7ef8df351c1f1415fa96437.zip | |
(dabbrev-abbrev-char-regexp): Accept symbol chars
as well as word constituent chars.
| -rw-r--r-- | lisp/dabbrev.el | 3 |
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. | |||
| 149 | This variable has an effect only when the value of | 149 | This 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. |
| 155 | This regexp will be surrounded with \\\\( ... \\\\) when actually used. | 154 | This regexp will be surrounded with \\\\( ... \\\\) when actually used. |
| 156 | 155 | ||