aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc/efaq.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc/efaq.texi')
-rw-r--r--doc/misc/efaq.texi28
1 files changed, 12 insertions, 16 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index a98c4b6a614..c29e4fe4875 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -2891,20 +2891,20 @@ and cause an annoying delay in display, so several features exist to
2891work around this. 2891work around this.
2892 2892
2893@cindex Just-In-Time syntax highlighting 2893@cindex Just-In-Time syntax highlighting
2894In Emacs 21 and later, turning on @code{font-lock-mode} automatically 2894Turning on @code{font-lock-mode} automatically activates
2895activates the new @dfn{Just-In-Time fontification} provided by 2895@dfn{Just-In-Time fontification} provided by @code{jit-lock-mode}.
2896@code{jit-lock-mode}. @code{jit-lock-mode} defers the fontification of 2896@code{jit-lock-mode} defers the fontification of portions of buffer
2897portions of buffer until you actually need to see them, and can also 2897until you actually need to see them, and can also fontify while Emacs
2898fontify while Emacs is idle. This makes display of the visible portion 2898is idle. This makes display of the visible portion of a buffer almost
2899of a buffer almost instantaneous. For details about customizing 2899instantaneous. For details about customizing @code{jit-lock-mode},
2900@code{jit-lock-mode}, type @kbd{C-h f jit-lock-mode @key{RET}}. 2900type @kbd{C-h f jit-lock-mode @key{RET}}.
2901 2901
2902@cindex Levels of syntax highlighting 2902@cindex Levels of syntax highlighting
2903@cindex Decoration level, in @code{font-lock-mode} 2903@cindex Decoration level, in @code{font-lock-mode}
2904In versions of Emacs before 21, different levels of decoration are 2904Different levels of decoration are available, from slight to gaudy.
2905available, from slight to gaudy. More decoration means you need to wait 2905More decoration means you need to wait more time for a buffer to be
2906more time for a buffer to be fontified (or a faster machine). To 2906fontified (or a faster machine). To control how decorated your
2907control how decorated your buffers should become, set the value of 2907buffers should become, set the value of
2908@code{font-lock-maximum-decoration} in your @file{.emacs} file, with a 2908@code{font-lock-maximum-decoration} in your @file{.emacs} file, with a
2909@code{nil} value indicating default (usually minimum) decoration, and a 2909@code{nil} value indicating default (usually minimum) decoration, and a
2910@code{t} value indicating the maximum decoration. For the gaudiest 2910@code{t} value indicating the maximum decoration. For the gaudiest
@@ -2985,11 +2985,7 @@ Add the following line to your @file{.emacs} file:
2985In many systems, @code{ls} is aliased to @samp{ls --color}, which 2985In many systems, @code{ls} is aliased to @samp{ls --color}, which
2986prints using ANSI color escape sequences. Emacs includes the 2986prints using ANSI color escape sequences. Emacs includes the
2987@code{ansi-color} package, which lets Shell mode recognize these 2987@code{ansi-color} package, which lets Shell mode recognize these
2988escape sequences. In Emacs 23.2 and later, the package is enabled by 2988escape sequences. It is enabled by default.
2989default; in earlier versions you can enable it by typing @kbd{M-x
2990ansi-color-for-comint-mode} in the Shell buffer, or by adding
2991@code{(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)} to
2992your init file.
2993 2989
2994@node Fullscreen mode on MS-Windows 2990@node Fullscreen mode on MS-Windows
2995@section How can I start Emacs in fullscreen mode on MS-Windows? 2991@section How can I start Emacs in fullscreen mode on MS-Windows?