emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: inconsistent behavior of M-x info


From: Juri Linkov
Subject: Re: inconsistent behavior of M-x info
Date: Tue, 06 Apr 2004 07:37:42 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Joe Corneli <address@hidden> writes:
> I renamed the *info* buffer as `wisent' because I wanted to browse
> the wisent info pages and compare them with the bison info pages.
>
> Then I typed M-x info, and instead of making a new *info* buffer,
> the info `dir' file appeared inside my `wisent' buffer.
>
> This is inconsistent with the behavior of e.g. M-x shell, M-x
> run-clisp (my wrapper for `inferior-lisp').  So I think it would be
> better to make a new *info* buffer for the info `dir' under the
> circumstances I've described!

If this is really the desired behavior (I have no objections to it)
then the following patch should fix it:

Index: emacs/lisp/info.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/info.el,v
retrieving revision 1.378
diff -c -r1.378 info.el
*** emacs/lisp/info.el  22 Mar 2004 17:12:16 -0000      1.378
--- emacs/lisp/info.el  6 Apr 2004 04:28:55 -0000
***************
*** 442,447 ****
--- 482,488 ----
          (Info-goto-node (concat "(" file ")"))))
      (if (get-buffer "*info*")
          (pop-to-buffer "*info*")
+       (pop-to-buffer "*info*")
        (Info-directory))))
  
  ;;;###autoload

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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