diff options
Diffstat (limited to 'doc/misc/efaq.texi')
| -rw-r--r-- | doc/misc/efaq.texi | 28 |
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 | |||
| 2891 | work around this. | 2891 | work around this. |
| 2892 | 2892 | ||
| 2893 | @cindex Just-In-Time syntax highlighting | 2893 | @cindex Just-In-Time syntax highlighting |
| 2894 | In Emacs 21 and later, turning on @code{font-lock-mode} automatically | 2894 | Turning on @code{font-lock-mode} automatically activates |
| 2895 | activates 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 |
| 2897 | portions of buffer until you actually need to see them, and can also | 2897 | until you actually need to see them, and can also fontify while Emacs |
| 2898 | fontify while Emacs is idle. This makes display of the visible portion | 2898 | is idle. This makes display of the visible portion of a buffer almost |
| 2899 | of a buffer almost instantaneous. For details about customizing | 2899 | instantaneous. For details about customizing @code{jit-lock-mode}, |
| 2900 | @code{jit-lock-mode}, type @kbd{C-h f jit-lock-mode @key{RET}}. | 2900 | type @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} |
| 2904 | In versions of Emacs before 21, different levels of decoration are | 2904 | Different levels of decoration are available, from slight to gaudy. |
| 2905 | available, from slight to gaudy. More decoration means you need to wait | 2905 | More decoration means you need to wait more time for a buffer to be |
| 2906 | more time for a buffer to be fontified (or a faster machine). To | 2906 | fontified (or a faster machine). To control how decorated your |
| 2907 | control how decorated your buffers should become, set the value of | 2907 | buffers 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: | |||
| 2985 | In many systems, @code{ls} is aliased to @samp{ls --color}, which | 2985 | In many systems, @code{ls} is aliased to @samp{ls --color}, which |
| 2986 | prints using ANSI color escape sequences. Emacs includes the | 2986 | prints 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 |
| 2988 | escape sequences. In Emacs 23.2 and later, the package is enabled by | 2988 | escape sequences. It is enabled by default. |
| 2989 | default; in earlier versions you can enable it by typing @kbd{M-x | ||
| 2990 | ansi-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 | ||
| 2992 | your 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? |