1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Document inhibit-local-variables-regexps in the lispref.

* doc/lispref/modes.texi (Auto Major Mode):
* doc/lispref/variables.texi (File Local Variables):
Mention inhibit-local-variables-regexps.

* etc/NEWS: Markup.
This commit is contained in:
Glenn Morris 2012-01-20 19:15:07 -08:00
parent dd6f2a637d
commit 61086eb66b
4 changed files with 26 additions and 2 deletions

View file

@ -1660,6 +1660,13 @@ Query (once) about all the variables.
@end table
@end defopt
@defvar inhibit-local-variables-regexps
This is a list of regular expressions. If a file has a name
matching an element of this list, then it is not scanned for
any form of file-local variable. For examples of why you might want
to use this, @pxref{Auto Major Mode}.
@end defvar
@defun hack-local-variables &optional mode-only
This function parses, and binds or evaluates as appropriate, any local
variables specified by the contents of the current buffer. The variable