]> git.eshelyaron.com Git - emacs.git/commitdiff
Change subword regexps back to vars.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Jan 2014 05:49:44 +0000 (21:49 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Jan 2014 05:49:44 +0000 (21:49 -0800)
* progmodes/subword.el (subword-forward-regexp)
(subword-backward-regexp): Change these back to variables.

Fixes: debbugs:16296
lisp/ChangeLog
lisp/progmodes/subword.el

index c398a34f93b202234409c70127ce13e34b3988b5..ad4c26c501f84cec33d0735deaf1e6add8110cea 100644 (file)
@@ -1,3 +1,9 @@
+2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Change subword regexps back to vars (Bug#16296).
+       * progmodes/subword.el (subword-forward-regexp)
+       (subword-backward-regexp): Change these back to variables.
+
 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
index f45b9d1da34eadcc44b0594b5f4161b61d170236..f9efa3732c75e7121adf3a3a5f0d949af16a8d13 100644 (file)
 (defvar subword-backward-function 'subword-backward-internal
   "Function to call for backward subword movement.")
 
-(defconst subword-forward-regexp
+(defvar subword-forward-regexp
   "\\W*\\(\\([[:upper:]]*\\(\\W\\)?\\)[[:lower:][:digit:]]*\\)"
   "Regexp used by `subword-forward-internal'.")
 
-(defconst subword-backward-regexp
+(defvar subword-backward-regexp
   "\\(\\(\\W\\|[[:lower:][:digit:]]\\)\\([[:upper:]]+\\W*\\)\\|\\W\\w+\\)"
   "Regexp used by `subword-backward-internal'.")