summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-04-30 14:03:07 +0000
committerEli Zaretskii <eliz@gnu.org>2001-04-30 14:03:07 +0000
commit22cd6fd3c0e7584ae63e4173d0ff6821e117ab15 (patch)
tree5ba9d3a208cc8bf2cbe97c4a3f4041623df8fab1 /lisp/font-lock.el
parent2b3e941a39654ffe92da96a9374bbb9a5c71f191 (diff)
downloademacs-22cd6fd3c0e7584ae63e4173d0ff6821e117ab15.tar.gz
(font-lock-mode): Doc fix.
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r--lisp/font-lock.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 4937b80a0b7..ef35b43dd9a 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -687,8 +687,9 @@ Major/minor modes can set this variable if they know which option applies.")
;;;###autoload
(define-minor-mode font-lock-mode
"Toggle Font Lock mode.
-With arg, turn Font Lock mode on if and only if arg is positive,
-otherwise turn it off.
+With arg, turn Font Lock mode off if and only if arg is a non-positive
+number; if arg is nil, toggle Font Lock mode; anything else turns Font
+Lock on.
\(Font Lock is also known as \"syntax highlighting\".)
When Font Lock mode is enabled, text is fontified as you type it: