diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 115dd8a5ae6..a5f33113439 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi @@ -2718,8 +2718,7 @@ menus}), use: @cindex FAQ, @code{font-lock-mode} @code{font-lock-mode} is the standard way to have Emacs perform syntax -highlighting in the current buffer. It is enabled by default in Emacs -22.1 and later. +highlighting in the current buffer. It is enabled by default. With @code{font-lock-mode} turned on, different types of text will appear in different colors. For instance, in a programming mode, @@ -2729,13 +2728,6 @@ a third. To turn @code{font-lock-mode} off within an existing buffer, use @kbd{M-x font-lock-mode @key{RET}}. -In Emacs 21 and earlier versions, you could use the following code in -your @file{.emacs} file to turn on @code{font-lock-mode} globally: - -@lisp -(global-font-lock-mode 1) -@end lisp - Highlighting a buffer with @code{font-lock-mode} can take quite a while, and cause an annoying delay in display, so several features exist to work around this.