[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: q in *Help* buffer deletes another window
From: |
Drew Adams |
Subject: |
RE: q in *Help* buffer deletes another window |
Date: |
Sat, 28 Jul 2007 08:03:24 -0700 |
> > emacs -Q
> > C-x d RET
> > C-x 3
> > C-x C-f <some file>
> > M-x set-variable pop-up-frames t
> > C-h f forward-char
> > q (in *Help* buffer)
> >
> > The *Help* buffer is iconified, and the window of the buffer visiting
> > file <some-file> is deleted. The window of <some-file> should not be
> > deleted.
> A partial remedy would be using
>
> (setq view-exit-action (lambda (buffer)
> (or (window-minibuffer-p (selected-window))
> (one-window-p t)
> (not (eq (window-buffer) buffer))
> (delete-window))))
Thanks for looking into this, Martin. Setting that (in the *Help* buffer)
seems to work, at least in this case.
> Setting `view-remove-frame-by-deleting' to non-nil should solve this.
Yes, I forgot that I already had that in my code - I forgot to do it also
for the emacs -Q bug report.