emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 05194cb 26/64: Doc fix for font-lock-remove-keywo


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] emacs-25 05194cb 26/64: Doc fix for font-lock-remove-keywords
Date: Sun, 01 May 2016 18:18:40 +0000

branch: emacs-25
commit 05194cbeaf80ce53e3eb00b91fe67ff143a51cfc
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Doc fix for font-lock-remove-keywords
    
    * 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 |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 6f94f35..634073c 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]