Subject: bug#36243: 26.2; defining inverse abbrevs include space

From: Noam Postavsky <[email-masked]>
Date: Sat, 22 Jun 2019 19:35:04 -0400

tags 36243 fixed
close 36243 27.1
quit

Allen Li <[email-masked]> writes:

> Thanks for suggesting skip-syntax-backward, see new patch.

> @@ -354,6 +354,7 @@ inverse-add-abbrev
>    (let (name exp start end)
>      (save-excursion
>        (forward-word (1+ (- arg)))
> +      (skip-syntax-backward "^w")
>        (setq end (point))
>        (backward-word 1)
>        (setq start (point)

Perfect, thanks, pushed to master.

2db75262c7 2019-06-22T19:25:44-04:00 "Fix defining inverse abbrevs on previous words (Bug#36243)"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2db75262c7395483d1fa9a0c9d93dd3e4d534e1f