[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Info-mode patch
From: |
Juri Linkov |
Subject: |
Re: Info-mode patch |
Date: |
Mon, 26 Jun 2023 20:56:19 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
> -(defun Info-directory ()
> +(defun Info-directory (&optional window)
> "Go to the Info directory node."
> (interactive)
> - (Info-find-node "dir" "top"))
> + (with-selected-window (or window (info-window))
> + (Info-find-node "dir" "top")))
I wonder why you modified a lot of commands instead of implementing
a non-intrusive approach of creating standard wrapper commands like
(defun Info-directory-other-window (&optional window)
"Go to the Info directory node in another window."
(interactive)
(with-selected-window (or window (info-window))
(Info-directory)))
- Info-mode patch, Arthur Miller, 2023/06/26
- Re: Info-mode patch,
Juri Linkov <=
- Re: Info-mode patch, Arthur Miller, 2023/06/26
- Re: Info-mode patch, Juri Linkov, 2023/06/27
- Re: Info-mode patch, Arthur Miller, 2023/06/27
- Re: Info-mode patch, Juri Linkov, 2023/06/27
- Re: Info-mode patch, Arthur Miller, 2023/06/27
- Re: Info-mode patch, Juri Linkov, 2023/06/28
- Re: Info-mode patch, Arthur Miller, 2023/06/29
- Re: Info-mode patch, Juri Linkov, 2023/06/29
- Re: Info-mode patch, Arthur Miller, 2023/06/29
- RE: [External] : Re: Info-mode patch, Drew Adams, 2023/06/29