diff options
| author | Tino Calancha <tino.calancha@gmail.com> | 2017-08-25 00:00:20 +0900 |
|---|---|---|
| committer | Tino Calancha <tino.calancha@gmail.com> | 2017-08-25 00:09:50 +0900 |
| commit | 303481b4ecd7d422653263389f86c83b4a4c855b (patch) | |
| tree | ffebda89bb8f5cb6379a803073224c536eb816aa /src | |
| parent | 0332a0ef2bbe6954f080cb6c9d3f0cc2517a1ab1 (diff) | |
| download | emacs-303481b4ecd7d422653263389f86c83b4a4c855b.tar.gz | |
Keep face available if there are no matches
If font-lock-mode is disabled in the current buffer, and
there are no matches for REGEXP, then keep FACE available
for a next search.
* lisp/hi-lock.el (hi-lock-set-pattern): Add FACE into
hi-lock--unused-faces if font-lock-mode is disabled and
there are no matches.
* test/lisp/hi-lock-tests.el (hi-lock-test-set-pattern): Add test.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
