* files.el (inhibit-local-variables-regexps): Add .diff and .patch.

Fixes: debbugs:13862
This commit is contained in:
Glenn Morris 2013-03-03 23:37:30 -08:00
parent f5572543da
commit cb05411f52
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-03-04 Glenn Morris <rgm@gnu.org>
* files.el (inhibit-local-variables-regexps):
Add .diff and .patch. (Bug#13862)
2013-03-03 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,

View file

@ -2498,6 +2498,7 @@ See also `auto-mode-alist'.")
"\\.zoo\\'" "\\.[jew]ar\\'" "\\.xpi\\'" "\\.rar\\'"
"\\.7z\\'"
"\\.sx[dmicw]\\'" "\\.odt\\'"
"\\.diff\\'" "\\.patch\\'"
"\\.tiff?\\'" "\\.gif\\'" "\\.png\\'" "\\.jpe?g\\'"))
"List of regexps matching file names in which to ignore local variables.
This includes `-*-' lines as well as trailing \"Local Variables\" sections.