Mercurial > emacs
diff lisp/dframe.el @ 65825:b89d9c4d5386
* info.el (Info-next, Info-prev, Info-up): Select info buffer, in
case the user clicks on the link while another window is selected.
(Info-speedbar-hierarchy-buttons): Use speedbar-current-frame.
* dframe.el (dframe-update-keymap): Use mouse-1-click-follows-link
functionality.
(dframe-help-echo): Save point in case mouse tracking is off.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 04 Oct 2005 14:06:44 +0000 |
parents | 6e229fd94815 |
children | df5f6fcce1be |
line wrap: on
line diff
--- a/lisp/dframe.el Tue Oct 04 13:55:17 2005 +0000 +++ b/lisp/dframe.el Tue Oct 04 14:06:44 2005 +0000 @@ -257,7 +257,8 @@ ) ;; mouse bindings so we can manipulate the items on each line - (define-key map [down-mouse-1] 'dframe-double-click) + ;; (define-key map [down-mouse-1] 'dframe-double-click) + (define-key map [follow-link] 'mouse-face) (define-key map [mouse-2] 'dframe-click) ;; This is the power click for new frames, or refreshing a cache (define-key map [S-mouse-2] 'dframe-power-click) @@ -921,8 +922,9 @@ dframe-help-echo-function) (let ((dframe-suppress-message-flag t)) (with-current-buffer buffer - (if position (goto-char position)) - (funcall dframe-help-echo-function))))) + (save-excursion + (if position (goto-char position)) + (funcall dframe-help-echo-function)))))) (defun dframe-mouse-set-point (e) "Set POINT based on event E.