]> git.eshelyaron.com Git - emacs.git/commitdiff
Make the image keymaps not extend after the image
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 28 Jul 2019 20:48:18 +0000 (22:48 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 28 Jul 2019 20:48:18 +0000 (22:48 +0200)
* lisp/image.el (insert-image): Make all the properties
rear-nonsticky.  Before this change, the keymap would extend after
the image.

lisp/image.el

index c3e28655c38f94cc6329a74de11806b095a0e666..b36a5138b1b661e56c0199bed8238a20a254eb9e 100644 (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))))