emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 3323ee7: Document how to avoid file-local variabl


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 3323ee7: Document how to avoid file-local variables that aren't
Date: Sat, 19 Dec 2015 10:38:38 +0000

branch: emacs-25
commit 3323ee7ad0fd0edcd88d9f436610a4cf85b1892c
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Document how to avoid file-local variables that aren't
    
    * doc/emacs/custom.texi (Specifying File Variables): Describe how
    to prevent Emacs from interpreting unrelated text as file-local
    variables.  (Bug#22166)
---
 doc/emacs/custom.texi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 30e0401..fc405e3 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -1133,6 +1133,12 @@ won't confuse other programs that the file is intended 
for.  The
 example above is for the C programming language, where comments start
 with @samp{/*} and end with @samp{*/}.
 
+If some unrelated text might look to Emacs as a local variables list,
+you can countermand that by inserting a form-feed character (a page
+delimiter, @pxref{Pages}) after that text.  Emacs only looks for
+file-local variables in the last page of a file, after the last page
+delimiter.
+
 @findex add-file-local-variable
 @findex delete-file-local-variable
 @findex copy-dir-locals-to-file-locals



reply via email to

[Prev in Thread] Current Thread [Next in Thread]