emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Info-mouse-follow-nearest-node should take prefix arg to fork


From: Drew Adams
Subject: Info-mouse-follow-nearest-node should take prefix arg to fork
Date: Sun, 8 Jan 2006 10:37:17 -0800

Why not add an optional FORK arg to Info-mouse-follow-nearest-node, so it
opens the node in a separate window? The only change is to add the arg and
pass it to Info-try-follow-nearest-node.

(defun Info-mouse-follow-nearest-node (click &optional fork)
    "...
With a prefix argument, open the node in a separate window."
    (interactive "e\nP")
    (mouse-set-point click)
    (and (not (Info-try-follow-nearest-node fork))
         (save-excursion (forward-line 1) (eobp))
         (Info-next-preorder)))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]