summaryrefslogtreecommitdiff
path: root/lisp/image-file.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2000-11-22 02:00:42 +0000
committerMiles Bader <miles@gnu.org>2000-11-22 02:00:42 +0000
commita02b5bb4c8ff503f31ef6cabd4deeeb69fc549cf (patch)
tree8e5618f14c0e70e96b4bdceead30088c8cdd8bc0 /lisp/image-file.el
parentae1a21c634e9982b011a24924527eb75b3de30f8 (diff)
downloademacs-a02b5bb4c8ff503f31ef6cabd4deeeb69fc549cf.tar.gz
(insert-image-file): Don't make `read-only' property rear-nonsticky.
Diffstat (limited to 'lisp/image-file.el')
-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))