summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2000-11-19 01:58:06 +0000
committerMiles Bader <miles@gnu.org>2000-11-19 01:58:06 +0000
commite5a9dabf39b361c320f891435c9ad390e9110ca7 (patch)
tree6d37832d69c25a87ef93b41fc8c545306b264c63
parente83dc917584709b073d746920ba2a5ce52743b52 (diff)
downloademacs-e5a9dabf39b361c320f891435c9ad390e9110ca7.tar.gz
(insert-image-file): Make `intangible' and `read-only' properties
rear-nonsticky too.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/image-file.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 198229ce193..4463d635c81 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-19 Miles Bader <miles@gnu.org>
+
+ * image-file.el (insert-image-file): Make `intangible' and
+ `read-only' properties rear-nonsticky too.
+
2000-11-18 Gerd Moellmann <gerd@gnu.org>
* ps-print.el: Update copyright notice.
diff --git a/lisp/image-file.el b/lisp/image-file.el
index 217e4708693..2e1ac4401dd 100644
--- a/lisp/image-file.el
+++ b/lisp/image-file.el
@@ -115,7 +115,7 @@ the command `insert-file-contents'."
(props
`(display ,image
intangible ,image
- rear-nonsticky (display)
+ rear-nonsticky (display intangible read-only)
;; This a cheap attempt to make the whole buffer
;; read-only when we're visiting the file.
,@(and visit