# HG changeset patch # User Richard M. Stallman # Date 897717671 0 # Node ID 74e7682de297ffd0d0652276aa6a82c0286e1501 # Parent 7d99675ff55f95dcec3fcf6e75f7f7c80cb4e214 (tar-mode): Locally bind local-enable-local-variables, not enable-local-variables. diff -r 7d99675ff55f -r 74e7682de297 lisp/tar-mode.el --- 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)