From: Chong Yidong Date: Mon, 17 Nov 2008 18:37:47 +0000 (+0000) Subject: (widget-image-insert): Don't add a mouse-face. X-Git-Tag: emacs-pretest-23.0.90~1736 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f331f1f80c0c62d4d77b6b0d27edecb6b239a3ec;p=emacs.git (widget-image-insert): Don't add a mouse-face. --- diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 202ee215b14..c0135f842b3 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -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)