Commit f331f1f8 authored by Chong Yidong's avatar Chong Yidong
Browse files

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

parent 58caa5cf
......@@ -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
;; 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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment