summaryrefslogtreecommitdiff
path: root/lisp/tar-mode.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2018-01-28 23:27:32 +0200
committerJuri Linkov <juri@linkov.net>2018-01-28 23:27:32 +0200
commit3c46315d21c090797920628a886234c5d8dc8215 (patch)
tree2353265ea140e16815064cce32b1a75e4eb087b5 /lisp/tar-mode.el
parent614e9b322ec08cf6549cd4db34e1dc75149e6b31 (diff)
downloademacs-3c46315d21c090797920628a886234c5d8dc8215.tar.gz
* lisp/tar-mode.el (tar-summarize-buffer): Let-bind `create-lockfiles' to nil
instead of `buffer-file-truename'. (Bug#30215) * lisp/image-mode.el (image-toggle-display-image): Idem.
Diffstat (limited to 'lisp/tar-mode.el')
-rw-r--r--lisp/tar-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index 2beeb7484a7..f7b14fab516 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -595,7 +595,7 @@ MODE should be an integer which is a file mode value."
(progress-reporter-done progress-reporter)
(message "Warning: premature EOF parsing tar file"))
(goto-char (point-min))
- (let ((buffer-file-truename nil) ; avoid changing dir mtime by lock_file
+ (let ((create-lockfiles nil) ; avoid changing dir mtime by lock_file
(inhibit-read-only t)
(total-summaries
(mapconcat 'tar-header-block-summarize tar-parse-info "\n")))