summaryrefslogtreecommitdiff
path: root/lisp/hi-lock.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-04-29 22:53:42 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2016-05-01 19:27:09 +0200
commitdc960d9743d3a90a8e518431bb6b8e29fd49bd32 (patch)
tree5c550cbbbc2f234b336ef17e9ab5d0abc074ec2a /lisp/hi-lock.el
parent8748c21f7197274177faae7699f5a3d47af4f938 (diff)
downloademacs-dc960d9743d3a90a8e518431bb6b8e29fd49bd32.tar.gz
Clarify hi-lock-find-patterns
* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification (bug#17989). (cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a)
Diffstat (limited to 'lisp/hi-lock.el')
-rw-r--r--lisp/hi-lock.el2
1 files changed, 1 insertions, 1 deletions
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)