[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Info-mouse-follow-nearest-node should take prefix arg to fork
From: |
Juri Linkov |
Subject: |
Re: Info-mouse-follow-nearest-node should take prefix arg to fork |
Date: |
Sun, 22 Jan 2006 02:43:44 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> 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)))
IIRC, using an optional FORK arg is a deprecated feature.
You can use M-n instead.
--
Juri Linkov
http://www.jurta.org/emacs/