From: Stefan Kangas Date: Sun, 26 Sep 2021 09:28:36 +0000 (+0200) Subject: Doc fix: mode name in local variables needs no suffix X-Git-Tag: emacs-28.0.90~613 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=68994995db26343a43aa8a526629127279f83278;p=emacs.git Doc fix: mode name in local variables needs no suffix * doc/emacs/custom.texi (Specifying File Variables): Clarify that a mode name does not need the "-mode" suffix. (Bug#50801) --- diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index d12033f8413..73dfe03898e 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -1084,8 +1084,9 @@ first line: @noindent You can specify any number of variable/value pairs in this way, each pair with a colon and semicolon. The special variable/value pair -@code{mode: @var{modename};}, if present, specifies a major mode. The -@var{value}s are used literally, and not evaluated. +@code{mode: @var{modename};}, if present, specifies a major mode +(without the ``-mode'' suffix). The @var{value}s are used literally, +and not evaluated. @findex add-file-local-variable-prop-line @findex delete-file-local-variable-prop-line