summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-06-13 06:01:11 +0000
committerRichard M. Stallman <rms@gnu.org>1998-06-13 06:01:11 +0000
commit31ab81a52bfbfd62740b5f514d9f169c35a8c692 (patch)
treea02a4e4040b72ed2c041155b85f7576c6e7e7671
parent0503e2c762adeb9216ec28de47f68e3f2338b959 (diff)
downloademacs-31ab81a52bfbfd62740b5f514d9f169c35a8c692.tar.gz
(tar-mode): Locally bind local-enable-local-variables,
not enable-local-variables.
-rw-r--r--lisp/tar-mode.el8
1 files 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)