summaryrefslogtreecommitdiff
path: root/lisp/image-mode.el
diff options
context:
space:
mode:
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,