1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(widget-image-insert): Don't add a mouse-face.

This commit is contained in:
Chong Yidong 2008-11-17 18:37:47 +00:00
parent 58caa5cf70
commit f331f1f80c

View file

@ -662,11 +662,7 @@ button is pressed or inactive, respectively. These are currently ignored."
(if (and (display-graphic-p)
(setq image (widget-image-find image)))
(progn (widget-put widget :suppress-face t)
(insert-image image
(propertize
;; Use a `list' so it's unique and won't get
;; accidentally merged with neighbouring images.
tag 'mouse-face (list widget-button-pressed-face))))
(insert-image image tag))
(insert tag)))
(defun widget-move-and-invoke (event)