From: Stefan Kangas Date: Thu, 22 Oct 2020 11:52:42 +0000 (+0200) Subject: Remove two references to Emacs 21 from the FAQ X-Git-Tag: emacs-28.0.90~5490 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb0256d9d129390690b8fb03a1e1b2739f3e0984;p=emacs.git 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. --- 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.