aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/font-lock.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 471db6b148f..48a96f2741e 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',
785(defun font-lock-remove-keywords (mode keywords) 785(defun font-lock-remove-keywords (mode keywords)
786 "Remove highlighting KEYWORDS for MODE. 786 "Remove highlighting KEYWORDS for MODE.
787 787
788MODE should be a symbol, the major mode command name, such as `c-mode' 788MODE should be a symbol, the major mode command name, such as
789or nil. If nil, highlighting keywords are removed for the current buffer. 789`c-mode' or nil. If nil, highlighting keywords are removed for
790the current buffer.
791
792For a description of KEYWORDS, see `font-lock-add-keywords'.
790 793
791To make the removal apply to modes derived from MODE as well, 794To make the removal apply to modes derived from MODE as well,
792pass nil for MODE and add the call to MODE-hook. This may fail 795pass nil for MODE and add the call to MODE-hook. This may fail