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:
parent
ae1a21c634
commit
a02b5bb4c8
1 changed files with 3 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue