summaryrefslogtreecommitdiff
path: root/lisp/image-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/image-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/image-mode.el')
-rw-r--r--lisp/image-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 1052ed97613..70d2ca87cc6 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -780,7 +780,7 @@ was inserted."
rear-nonsticky (display) ;; intangible
read-only t front-sticky (read-only)))
- (let ((buffer-file-truename nil)) ; avoid changing dir mtime by lock_file
+ (let ((create-lockfiles nil)) ; avoid changing dir mtime by lock_file
(add-text-properties (point-min) (point-max) props)
(restore-buffer-modified-p modified))
;; Inhibit the cursor when the buffer contains only an image,