]> git.eshelyaron.com Git - emacs.git/commitdiff
(widget-image-insert): Don't add a mouse-face.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 17 Nov 2008 18:37:47 +0000 (18:37 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 17 Nov 2008 18:37:47 +0000 (18:37 +0000)
lisp/wid-edit.el

index 202ee215b148b3bedcd058d6db509f2040603501..c0135f842b3fb38484d3fb74a879c308feeb4cb6 100644 (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)