]> code.delx.au - gnu-emacs/commit
Fix bug#21766 and add test
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 28 Oct 2015 08:55:25 +0000 (09:55 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 28 Oct 2015 17:23:53 +0000 (18:23 +0100)
commit1f02cbea8b489ed7676110431aa36ad5abc47d9b
tree6ae651d3a02ed7d8a421b511e4e9efdffc7b8890
parent785c0d8326a5f82ca3b69d8e90ebb6fc5731e6d3
Fix bug#21766 and add test

* lisp/simple.el (delete-trailing-whitespace): Save match data when
calling `skip-syntax-backward'.
* test/automated/simple-test.el (simple-delete-trailing-whitespace):
New test.
lisp/simple.el
test/automated/simple-test.el