diff options
| author | Stefan Monnier | 2002-11-03 08:34:45 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2002-11-03 08:34:45 +0000 |
| commit | 5f1fbf6b356aefc0645f9494a4a04ee19eb5510f (patch) | |
| tree | ffbe35739bced66971ff889aaee6206ba9c46b18 | |
| parent | 833815e8a75611b7421ee675b76bb54e08b0df07 (diff) | |
| download | emacs-5f1fbf6b356aefc0645f9494a4a04ee19eb5510f.tar.gz emacs-5f1fbf6b356aefc0645f9494a4a04ee19eb5510f.zip | |
(insert-image): Don't make intangible since
adjust_point_for_property should be sufficient by default.
| -rw-r--r-- | lisp/image.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/image.el b/lisp/image.el index bc6155e9d9c..ac1ef557edc 100644 --- a/lisp/image.el +++ b/lisp/image.el | |||
| @@ -203,11 +203,7 @@ means display it in the right marginal area." | |||
| 203 | (let ((start (point))) | 203 | (let ((start (point))) |
| 204 | (insert string) | 204 | (insert string) |
| 205 | (add-text-properties start (point) | 205 | (add-text-properties start (point) |
| 206 | (list 'display image | 206 | `(display ,image rear-nonsticky (display))))) |
| 207 | ;; `image' has the right properties to | ||
| 208 | ;; mark an intangible field. | ||
| 209 | 'intangible image | ||
| 210 | 'rear-nonsticky (list 'display))))) | ||
| 211 | 207 | ||
| 212 | 208 | ||
| 213 | ;;;###autoload | 209 | ;;;###autoload |