]> git.eshelyaron.com Git - emacs.git/commitdiff
(inhibit-first-line-modes-regexps): Renamed from
authorRichard M. Stallman <rms@gnu.org>
Sat, 9 Apr 1994 22:27:31 +0000 (22:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 9 Apr 1994 22:27:31 +0000 (22:27 +0000)
inhibit-local-variables-regexps.

lisp/files.el

index 0cd4a9554034ad25ce8d7e58f53d4f0120bd27ed..2b3590176f3cf040c19973deed27a8cb00329b42 100644 (file)
@@ -859,8 +859,8 @@ The car of each element is compared with
 the name of the interpreter specified in the first line.
 If it matches, mode MODE is selected.")
 
-(defconst inhibit-local-variables-regexps '("\\.tar$")
-  "List of regexps; if one matches a file name, don't look for local vars.")
+(defconst inhibit-first-line-modes-regexps '("\\.tar$")
+  "List of regexps; if one matches a file name, don't look for `-*-'.")
 
 (defvar user-init-file
   "" ; set by command-line
@@ -882,8 +882,8 @@ If `enable-local-variables' is nil, this function does not check for a
       (skip-chars-forward " \t\n")
       (and enable-local-variables
           ;; Don't look for -*- if this file name matches any
-          ;; of the regexps in inhibit-local-variables-regexps.
-          (let ((temp inhibit-local-variables-regexps))
+          ;; of the regexps in inhibit-first-line-modes-regexps.
+          (let ((temp inhibit-first-line-modes-regexps))
             (while (and temp
                         (not (string-match (car temp)
                                            buffer-file-name)))