diff options
| author | Miles Bader | 2000-11-22 02:00:42 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-11-22 02:00:42 +0000 |
| commit | a02b5bb4c8ff503f31ef6cabd4deeeb69fc549cf (patch) | |
| tree | 8e5618f14c0e70e96b4bdceead30088c8cdd8bc0 /lisp/image-file.el | |
| parent | ae1a21c634e9982b011a24924527eb75b3de30f8 (diff) | |
| download | emacs-a02b5bb4c8ff503f31ef6cabd4deeeb69fc549cf.tar.gz emacs-a02b5bb4c8ff503f31ef6cabd4deeeb69fc549cf.zip | |
(insert-image-file): Don't make `read-only' property rear-nonsticky.
Diffstat (limited to 'lisp/image-file.el')
| -rw-r--r-- | lisp/image-file.el | 5 |
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'." | |||
| 115 | (props | 115 | (props |
| 116 | `(display ,image | 116 | `(display ,image |
| 117 | intangible ,image | 117 | intangible ,image |
| 118 | rear-nonsticky (display intangible read-only) | 118 | rear-nonsticky (display intangible) |
| 119 | ;; This a cheap attempt to make the whole buffer | 119 | ;; This a cheap attempt to make the whole buffer |
| 120 | ;; read-only when we're visiting the file. | 120 | ;; read-only when we're visiting the file (as |
| 121 | ;; opposed to just inserting it). | ||
| 121 | ,@(and visit | 122 | ,@(and visit |
| 122 | (= ibeg (point-min)) | 123 | (= ibeg (point-min)) |
| 123 | (= iend (point-max)) | 124 | (= iend (point-max)) |