From bb0256d9d129390690b8fb03a1e1b2739f3e0984 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 22 Oct 2020 13:52:42 +0200 Subject: [PATCH] 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. --- doc/misc/efaq.texi | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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. -- 2.39.2