From 5eb6298247925311e7ef8df351c1f1415fa96437 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 24 Dec 1994 21:39:16 +0000 Subject: [PATCH] (dabbrev-abbrev-char-regexp): Accept symbol chars as well as word constituent chars. --- lisp/dabbrev.el | 3 +-- 1 file changed, 1 insertion(+), 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. -- 2.39.5