[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
- [Emacs-diffs] emacs-25 0a14d84 04/64: Clarify some doc strings, (continued)
- [Emacs-diffs] emacs-25 0a14d84 04/64: Clarify some doc strings, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 cf33ae0 05/64: Clarify the `interactive' doc string slightly, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 de8349e 06/64: Doc string change to enable-recursive-minibuffers, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 9bd2af8 01/64: Clarify doc string of internal compilation function, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 4a2f33d 20/64: Doc fixes for menu-bar.el, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 7b85885 22/64: Doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 cc00738 09/64: find-lisp doc touchups, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 651182d 24/64: Doc fixed for next-error-buffer-p, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 351c079 03/64: Add some concept index entries for custom types, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 c355774 21/64: delsel doc touch ups, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 05194cb 26/64: Doc fix for font-lock-remove-keywords,
Lars Ingebrigtsen <=
- [Emacs-diffs] emacs-25 28ef870 11/64: Doc tweak, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 d815ba5 23/64: Tiny doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 92559c7 10/64: Link from (emacs)Exiting to (lisp)Killing Emacs, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 bc6c294 12/64: Doc fix for `kbd', Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 71795d4 19/64: Doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 3852fd6 18/64: Minor doc clarification, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 f92d0aa 36/64: insert-file-contents-literally doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 ec392ff 40/64: cursor-type doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 a73de71 30/64: Doc fix for insert-pair-alist, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 93598ff 38/64: (default-mode-line-format): More explicit obsolete info, Lars Ingebrigtsen, 2016/05/01