]> git.eshelyaron.com Git - emacs.git/commit
Store the regexp just when there are matches
authorTino Calancha <tino.calancha@gmail.com>
Thu, 24 Aug 2017 15:24:59 +0000 (00:24 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Thu, 24 Aug 2017 15:24:59 +0000 (00:24 +0900)
commit22ebde63c9df6a6815359c1e3406baddec1ed55b
tree1cd957e3b3e18254e0a41de6736fa9ac027c0466
parent303481b4ecd7d422653263389f86c83b4a4c855b
Store the regexp just when there are matches

* lisp/hi-lock.el (hi-lock-set-pattern): When font-lock-mode is
disabled and there are no matches do not store REGEXP
in hi-lock-interactive-patterns.
lisp/hi-lock.el