aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/info.el3
2 files changed, 3 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 122013463dc..22e8c23c142 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,7 @@
12012-06-23 Chong Yidong <cyd@gnu.org> 12012-06-23 Chong Yidong <cyd@gnu.org>
2 2
3 * info.el (Info-mouse-follow-link): Accept symbol values of the 3 * info.el (Info-mouse-follow-link): Accept symbol values of
4 link-args property. Select the window (Bug#11672). 4 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5 (Info-fontify-node): Use Info-link-keymap for all navigation 5 (Info-fontify-node): Use Info-link-keymap for all navigation
6 buttons, with link-args property to perform the desired action. 6 buttons, with link-args property to perform the desired action.
7 (Info-link-keymap): Doc fix. 7 (Info-link-keymap): Doc fix.
diff --git a/lisp/info.el b/lisp/info.el
index b3fb7917c7d..cc86370d251 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -3692,7 +3692,7 @@ If FORK is non-nil, it is passed to `Info-goto-node'."
3692 3692
3693(defun Info-mouse-follow-link (click) 3693(defun Info-mouse-follow-link (click)
3694 "Follow a link where you click." 3694 "Follow a link where you click."
3695 (interactive "e") 3695 (interactive "@e")
3696 (let* ((position (event-start click)) 3696 (let* ((position (event-start click))
3697 (posn-string (and position (posn-string position))) 3697 (posn-string (and position (posn-string position)))
3698 (link-args (if posn-string 3698 (link-args (if posn-string
@@ -3701,7 +3701,6 @@ If FORK is non-nil, it is passed to `Info-goto-node'."
3701 (car posn-string)) 3701 (car posn-string))
3702 (get-char-property (posn-point position) 3702 (get-char-property (posn-point position)
3703 'link-args)))) 3703 'link-args))))
3704 (select-window (posn-window position))
3705 (cond ((stringp link-args) 3704 (cond ((stringp link-args)
3706 (Info-goto-node link-args)) 3705 (Info-goto-node link-args))
3707 ;; These special values of the `link-args' property are used 3706 ;; These special values of the `link-args' property are used