around the code handling clicks on buttons.
+2001-02-19 Gerd Moellmann <gerd@gnu.org>
+
+ * wid-edit.el (widget-button-click): Save the selected window
+ around the code handling clicks on buttons.
+
2001-02-18 Dave Love <fx@gnu.org>
* imenu.el (imenu--generic-function): Use mapc to iterate over
;; Mouse click on a widget button. Do the following
;; in a save-excursion so that the click on the button
;; doesn't change point.
- (progn
+ (save-selected-window
(save-excursion
(mouse-set-point event)
(let* ((overlay (widget-get button :button-overlay))