summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/image-file.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/image-file.el b/lisp/image-file.el
index 2e1ac4401dd..f8da174364b 100644
--- a/lisp/image-file.el
+++ b/lisp/image-file.el
@@ -115,9 +115,10 @@ the command `insert-file-contents'."
(props
`(display ,image
intangible ,image
- rear-nonsticky (display intangible read-only)
+ rear-nonsticky (display intangible)
;; This a cheap attempt to make the whole buffer
- ;; read-only when we're visiting the file.
+ ;; read-only when we're visiting the file (as
+ ;; opposed to just inserting it).
,@(and visit
(= ibeg (point-min))
(= iend (point-max))