changeset 22473:74e7682de297

(tar-mode): Locally bind local-enable-local-variables, not enable-local-variables.
author Richard M. Stallman <rms@gnu.org>
date Sat, 13 Jun 1998 06:01:11 +0000
parents 7d99675ff55f
children 927f6e2f680b
files lisp/tar-mode.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tar-mode.el	Sat Jun 13 06:00:58 1998 +0000
+++ b/lisp/tar-mode.el	Sat Jun 13 06:01:11 1998 +0000
@@ -111,7 +111,7 @@
   :group 'tar)
 
 (defcustom tar-update-datestamp nil
-  "*Non-nil means tar-mode should play fast and loose with sub-file datestamps.
+  "*Non-nil means Tar mode should play fast and loose with sub-file datestamps.
 If this is true, then editing and saving a tar file entry back into its
 tar file will update its datestamp.  If false, the datestamp is unchanged.
 You may or may not want this - it is good in that you can tell when a file
@@ -306,7 +306,7 @@
     (tar-dotimes (i L)
        (if (or (< (aref string i) ?0)
 	       (> (aref string i) ?7))
-	   (error "'%c' is not an octal digit"))))
+	   (error "`%c' is not an octal digit"))))
   (tar-parse-octal-integer string))
 
 
@@ -597,8 +597,8 @@
   (setq require-final-newline nil) ; binary data, dude...
   (make-local-variable 'revert-buffer-function)
   (setq revert-buffer-function 'tar-mode-revert)
-  (make-local-variable 'enable-local-variables)
-  (setq enable-local-variables nil)
+  (make-local-variable 'local-enable-local-variables)
+  (setq local-enable-local-variables nil)
   (make-local-variable 'next-line-add-newlines)
   (setq next-line-add-newlines nil)
   (setq major-mode 'tar-mode)