Commit 4e619754 authored by Paul Eggert's avatar Paul Eggert
Browse files

Change subword regexps back to vars.

* progmodes/subword.el (subword-forward-regexp)
(subword-backward-regexp): Change these back to variables.

Fixes: debbugs:16296
parent dc300e28
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
......
......@@ -93,11 +93,11 @@
(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'.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment