]> code.delx.au - gnu-emacs/commitdiff
Clarify hi-lock-find-patterns
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 29 Apr 2016 20:53:42 +0000 (22:53 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 1 May 2016 17:27:09 +0000 (19:27 +0200)
* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
(bug#17989).

(cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a)

lisp/hi-lock.el

index ec14e0b4329e75f8514a54995b31f5fb15a26c2e..549010dda034d0416b0b9e5042fead60f6cdf40a 100644 (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)