]> git.eshelyaron.com Git - emacs.git/commitdiff
(widget-button-click): Move point to where clicked.
authorKarl Heuer <kwzh@gnu.org>
Wed, 15 Oct 1997 23:57:19 +0000 (23:57 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 15 Oct 1997 23:57:19 +0000 (23:57 +0000)
lisp/wid-edit.el

index 9052c77deae13618e70963b8f4eb679db7403f86..a2e484967702d8e60c385bd735497f15b612325e 100644 (file)
@@ -922,8 +922,9 @@ Recommended as a parent keymap for modes using widgets.")
   :group 'widget-faces)
 
 (defun widget-button-click (event)
-  "Invoke button below mouse pointer."
+  "Invoke the button that the mouse is pointing at, and move there."
   (interactive "@e")
+  (mouse-set-point event)
   (cond ((and (fboundp 'event-glyph)
              (event-glyph event))
         (widget-glyph-click event))