diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/tar-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index e640797d897..3398b644e69 100644 --- a/lisp/tar-mode.el +++ b/lisp/tar-mode.el | |||
| @@ -584,8 +584,8 @@ See also: variables `tar-update-datestamp' and `tar-anal-blocksize'. | |||
| 584 | (setq mode-name "Tar") | 584 | (setq mode-name "Tar") |
| 585 | (use-local-map tar-mode-map) | 585 | (use-local-map tar-mode-map) |
| 586 | (auto-save-mode 0) | 586 | (auto-save-mode 0) |
| 587 | (make-local-variable 'local-write-file-hooks) | 587 | (make-local-variable 'write-contents-hooks) |
| 588 | (setq local-write-file-hooks '(tar-mode-write-file)) | 588 | (setq write-contents-hooks '(tar-mode-write-file)) |
| 589 | (widen) | 589 | (widen) |
| 590 | (if (and (boundp 'tar-header-offset) tar-header-offset) | 590 | (if (and (boundp 'tar-header-offset) tar-header-offset) |
| 591 | (narrow-to-region 1 tar-header-offset) | 591 | (narrow-to-region 1 tar-header-offset) |