1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-11 02:10:35 -08:00

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

This commit is contained in:
Miles Bader 2000-11-22 02:00:42 +00:00
parent ae1a21c634
commit a02b5bb4c8

View file

@ -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))