From: Lars Ingebrigtsen Date: Fri, 29 Apr 2016 20:53:42 +0000 (+0200) Subject: Clarify hi-lock-find-patterns X-Git-Tag: emacs-25.0.94~104 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dc960d9743d3a90a8e518431bb6b8e29fd49bd32;p=emacs.git Clarify hi-lock-find-patterns * lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification (bug#17989). (cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a) --- diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index ec14e0b4329..549010dda03 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -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)