Fix docstring of dabbrev-abbrev-char-regexp
commit9a7370796455b87cebb1177eecc6fa985f61f6a8
authorNoam Postavsky <npostavs@gmail.com>
Fri, 24 Mar 2017 14:47:19 +0000 (24 10:47 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 26 Mar 2017 13:14:15 +0000 (26 09:14 -0400)
tree0414bbab234e7a0d61ba1b4f9f94b076e00e6afc
parentafe8849bac1ec228680bcb590da6313800067d34
Fix docstring of dabbrev-abbrev-char-regexp

* lisp/dabbrev.el (dabbrev-abbrev-char-regexp): Using a value of nil
is equivalent to "\\sw\\|\\s_", and has no special behavior.  If the
previous character doesn't match, we search backwards for one that
does, not throw an error.  Replace Lisp example with C based one to
make it clear that "symbol" means a sequence of word and symbol
constituent characters, not a Lisp symbol (Bug#358).
lisp/dabbrev.el