]> git.eshelyaron.com Git - emacs.git/commit
Fix defining inverse abbrevs on previous words (Bug#36243)
authorAllen Li <darkfeline@felesatra.moe>
Sun, 16 Jun 2019 10:32:02 +0000 (03:32 -0700)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 22 Jun 2019 23:25:44 +0000 (19:25 -0400)
commit2db75262c7395483d1fa9a0c9d93dd3e4d534e1f
tree15e7327d356d20ddcc894810ecf3615fb1a22fe7
parent0f01a58c390faf30c33b369fc81b2a14ec5b7f2e
Fix defining inverse abbrevs on previous words (Bug#36243)

* lisp/abbrev.el (inverse-add-abbrev): Skip trailing nonword
characters when defining abbrev.

* test/lisp/abbrev-tests.el (abbrev-edit-save-to-file-test): Add
regression tests.
lisp/abbrev.el
test/lisp/abbrev-tests.el