diff options
author | Juri Linkov <juri@jurta.org> | 2012-09-30 19:54:43 +0300 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2012-09-30 19:54:43 +0300 |
commit | 4c478e6b45d9e868efaf5f402fad2e54f4324a93 (patch) | |
tree | 2f42cec4a5c65e2e26d9976ce4da1b01f4346249 /lisp/arc-mode.el | |
parent | d80d54b289a971d7a98dc5fafebaa957082c8222 (diff) | |
download | emacs-4c478e6b45d9e868efaf5f402fad2e54f4324a93.tar.gz |
* lisp/arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
to nil around the call to `add-text-properties' to prevent
directory time modification by lock_file.
* lisp/tar-mode.el (tar-summarize-buffer): Idem.
Fixes: debbugs:2295
Diffstat (limited to 'lisp/arc-mode.el')
-rw-r--r-- | lisp/arc-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index a97a052dc08..c04cd8dcf9d 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el @@ -787,7 +787,8 @@ is visible (and the real data of the buffer is hidden). Optional argument SHUT-UP, if non-nil, means don't print messages when parsing the archive." (widen) - (let ((inhibit-read-only t)) + (let ((buffer-file-truename nil) ; avoid changing dir mtime by lock_file + (inhibit-read-only t)) (setq archive-proper-file-start (copy-marker (point-min) t)) (set (make-local-variable 'change-major-mode-hook) 'archive-desummarize) (or shut-up |