* lisp/progmodes/subword.el: Fix boundary case.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Jul 2013 16:25:32 +0000 (12:25 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 22 Jul 2013 16:25:32 +0000 (12:25 -0400)
commit0ac26976f1da4921fd146851740a73b9185a054b
treee4aad312e577af0c433a5ac4c0f121fd0d838eb0
parent368a85a4dbc324c90b2f3338fc97cc73b4c53222
* lisp/progmodes/subword.el: Fix boundary case.
(subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
own group.
(subword-backward-regexp): Make it a constant.
(subword-forward-internal): Don't treat a trailing capital as the
beginning of a word.
* test/automated/subword-tests.el: New file.

Fixes: debbugs:13758
lisp/ChangeLog
lisp/progmodes/subword.el
test/ChangeLog
test/automated/subword-tests.el [new file with mode: 0644]