changeset 6780:06eb068ba329

(inhibit-first-line-modes-regexps): Renamed from inhibit-local-variables-regexps.
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Apr 1994 22:27:31 +0000
parents baefeadae7a3
children 1196b59772d3
files lisp/files.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Sat Apr 09 22:19:10 1994 +0000
+++ b/lisp/files.el	Sat Apr 09 22:27:31 1994 +0000
@@ -859,8 +859,8 @@
 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 @@
       (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)))