]> git.eshelyaron.com Git - emacs.git/commit
Fix hi-lock test and add new test for unhighlight (bug#40337)
authorJuri Linkov <juri@linkov.net>
Mon, 13 Apr 2020 23:33:52 +0000 (02:33 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 13 Apr 2020 23:33:52 +0000 (02:33 +0300)
commit7a9fb5d55c9bf612a38348d59e769ee915175e28
tree45b38be9f4d13d8a5a0069d20f940a8410b4350c
parent086faceb1c395d24487c20bcb32ca710291bee41
Fix hi-lock test and add new test for unhighlight (bug#40337)

* lisp/hi-lock.el (hi-lock-unface-buffer): Use hi-lock--hashcons
only on strings, not lists.

* test/lisp/hi-lock-tests.el (hi-lock-bug26666): Revert previous change,
use "a" instead of "b".
(hi-lock-unhighlight): New test.
lisp/hi-lock.el
test/lisp/hi-lock-tests.el