Commit a02b5bb4 authored by Miles Bader's avatar Miles Bader
Browse files

(insert-image-file): Don't make `read-only' property rear-nonsticky.

parent ae1a21c6
......@@ -115,9 +115,10 @@ the command `insert-file-contents'."
`(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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment