1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

Clarify hi-lock-find-patterns

* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
(bug#17989).

(cherry picked from commit 552e90ce7d)
This commit is contained in:
Lars Ingebrigtsen 2016-04-29 22:53:42 +02:00
parent 8748c21f71
commit dc960d9743

View file

@ -727,7 +727,7 @@ with completion and history."
(font-lock-flush)))
(defun hi-lock-find-patterns ()
"Find patterns in current buffer for hi-lock."
"Add patterns from the current buffer to the list of hi-lock patterns."
(interactive)
(unless (memq major-mode hi-lock-exclude-modes)
(let ((all-patterns nil)