diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2005-10-04 14:06:44 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2005-10-04 14:06:44 +0000 |
commit | 222a6c9b7f1eca773c8caa9e1b9a7a91a19b8c88 (patch) | |
tree | 197790ccbefa0fca40cfb3070579585c656c2a53 /lisp/dframe.el | |
parent | bbcb5072a3944bb55def85edb61d05639a38f149 (diff) | |
download | emacs-222a6c9b7f1eca773c8caa9e1b9a7a91a19b8c88.tar.gz |
* 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.
Diffstat (limited to 'lisp/dframe.el')
-rw-r--r-- | lisp/dframe.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/dframe.el b/lisp/dframe.el index b180d6bbf00..f0aa72d0f1f 100644 --- a/lisp/dframe.el +++ b/lisp/dframe.el @@ -257,7 +257,8 @@ Local to those buffers, as a function called that created it.") ) ;; 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 @@ BUFFER and POSITION are optional because XEmacs doesn't use them." 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. |