Subject: bug#13862: 24.3.50; File local-variables error: (error "Local variables entry is missing the prefix")

From: Jambunathan K <[email-masked]>
Date: Mon, 04 Mar 2013 09:08:54 +0530

Glenn Morris <[email-masked]> writes:

> Adding .diff and .patch to inhibit-local-variables-regexps would avoid
> this.

,----
|  ;; Local variables:
|  ;; generated-autoload-file: "org-loaddefs.el"
| +;; coding: utf-8
|  ;; End:
`----

The question is: 

Is there are any local variables in the patch?  There isn't any.  So why
should we inhibit something that is not there.

If `diff-mode' has no comment syntax defined, then by extension, it
cannot specify file local variables.

ps: I am not sure why *.patch files are visited in diff-mode?

Jambnathan K.