]> git.eshelyaron.com Git - emacs.git/commitdiff
Doc fix for font-lock-remove-keywords
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 13:55:44 +0000 (15:55 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 1 May 2016 17:27:11 +0000 (19:27 +0200)
* lisp/font-lock.el (font-lock-remove-keywords): Add a link to
`font-lock-add-keywords' to describe KEYWORDS (bug#18634).

(cherry picked from commit bc00dcf12983cd399127d0eea39647f29778eb02)

lisp/font-lock.el

index 6f94f353c90fd7f0990d35a5c56be548f610b892..634073c28676fb27a037eda6fe946b906eb3c6c8 100644 (file)
@@ -785,8 +785,11 @@ see the variables `c-font-lock-extra-types', `c++-font-lock-extra-types',
 (defun font-lock-remove-keywords (mode keywords)
   "Remove highlighting KEYWORDS for MODE.
 
-MODE should be a symbol, the major mode command name, such as `c-mode'
-or nil.  If nil, highlighting keywords are removed for the current buffer.
+MODE should be a symbol, the major mode command name, such as
+`c-mode' or nil.  If nil, highlighting keywords are removed for
+the current buffer.
+
+For a description of KEYWORDS, see `font-lock-add-keywords'.
 
 To make the removal apply to modes derived from MODE as well,
 pass nil for MODE and add the call to MODE-hook.  This may fail