From 678b159e98ccad4066bdae675bd5b7cc168efd1e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 13 Jun 1998 06:01:11 +0000 Subject: [PATCH] (tar-mode): Locally bind local-enable-local-variables, not enable-local-variables. --- lisp/tar-mode.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index 767f0d915bc..7e5794410be 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el @@ -111,7 +111,7 @@ how many null padding bytes go on the end of the tar file." :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 @@ write-date, checksum, link-type, and link-name." (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 @@ See also: variables `tar-update-datestamp' and `tar-anal-blocksize'. (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) -- 2.39.5