Remove two references to Emacs 21 from the FAQ

* doc/misc/efaq.texi (Turning on syntax highlighting): Remove some
references to Emacs 21 and older.
This commit is contained in:
Stefan Kangas 2020-10-22 13:52:42 +02:00
parent c009a0a6f7
commit bb0256d9d1

View file

@ -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.