aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/tar-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index a444a565fef..5776680d6cb 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -1196,7 +1196,8 @@ Leaves the region wide."
1196 ;; I suppose this is run in a context where changing the buffer is bad. 1196 ;; I suppose this is run in a context where changing the buffer is bad.
1197 ;; (tar-pad-to-blocksize) 1197 ;; (tar-pad-to-blocksize)
1198 (write-region tar-header-offset (point-max) buffer-file-name nil t) 1198 (write-region tar-header-offset (point-max) buffer-file-name nil t)
1199 (tar-clear-modification-flags)) 1199 (tar-clear-modification-flags)
1200 (set-buffer-modified-p nil))
1200 (narrow-to-region 1 tar-header-offset)) 1201 (narrow-to-region 1 tar-header-offset))
1201 ;; return T because we've written the file. 1202 ;; return T because we've written the file.
1202 t) 1203 t)