aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-29 22:53:42 +0200
committerLars Ingebrigtsen2016-04-29 22:53:42 +0200
commit552e90ce7dff3a7107243fdf71c4de3af443e13a (patch)
tree1e648ac9da7ba11d9c7d0ea32e8a3f4640e7f409
parent8f3a6de5e240910845594e079b2734a1acc1c25c (diff)
downloademacs-552e90ce7dff3a7107243fdf71c4de3af443e13a.tar.gz
emacs-552e90ce7dff3a7107243fdf71c4de3af443e13a.zip
Clarify hi-lock-find-patterns
* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification (bug#17989).
-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."
727 (font-lock-flush))) 727 (font-lock-flush)))
728 728
729(defun hi-lock-find-patterns () 729(defun hi-lock-find-patterns ()
730 "Find patterns in current buffer for hi-lock." 730 "Add patterns from the current buffer to the list of hi-lock patterns."
731 (interactive) 731 (interactive)
732 (unless (memq major-mode hi-lock-exclude-modes) 732 (unless (memq major-mode hi-lock-exclude-modes)
733 (let ((all-patterns nil) 733 (let ((all-patterns nil)