Make the image keymaps not extend after the image

* lisp/image.el (insert-image): Make all the properties
rear-nonsticky.  Before this change, the keymap would extend after
the image.
This commit is contained in:
Lars Ingebrigtsen 2019-07-28 22:48:18 +02:00
parent a0df490055
commit 776872766c

View file

@ -549,7 +549,7 @@ height of the image; integer values are taken as pixel values."
`(display ,(if slice
(list (cons 'slice slice) image)
image)
rear-nonsticky (display)
rear-nonsticky t
keymap ,image-map))))