[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 bdc89eb: Improve documentation of 'font-lock-remo
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 bdc89eb: Improve documentation of 'font-lock-remove-keywords' |
Date: |
Fri, 4 Nov 2016 09:17:16 +0000 (UTC) |
branch: emacs-25
commit bdc89eb4a6fa977f050551b43a299999aa3dda57
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Improve documentation of 'font-lock-remove-keywords'
* doc/lispref/modes.texi (Customizing Keywords): Clarify the
'keywords' argument of 'font-lock-remove-keywords'. Suggested by
Hong Xu <address@hidden>. (Bug#24830)
---
doc/lispref/modes.texi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 32baa27..7bbb5e6 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -2916,7 +2916,9 @@ This function removes @var{keywords} from
@code{font-lock-keywords}
for the current buffer or for major mode @var{mode}. As in
@code{font-lock-add-keywords}, @var{mode} should be a major mode
command name or @code{nil}. All the caveats and requirements for
address@hidden apply here too.
address@hidden apply here too. The argument
address@hidden must exactly match the one used by the corresponding
address@hidden
@end defun
For example, the following code adds two fontification patterns for C
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 bdc89eb: Improve documentation of 'font-lock-remove-keywords',
Eli Zaretskii <=