[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help-mode changes
From: |
Reiner Steib |
Subject: |
Re: help-mode changes |
Date: |
Wed, 19 Apr 2006 14:36:18 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
On Wed, Apr 19 2006, Romain Francoise wrote:
> 2006-04-18 Richard Stallman <address@hidden>
>
> * help-mode.el (help-mode): Set view-exit-action to delete window.
>
> causes a bug: hitting `q' in a *Help* buffer now signals the following
> error: ``Attempt to delete minibuffer or sole ordinary window''.
[...]
>> (setq view-no-disable-on-exit t)
>> + (setq view-exit-action (lambda (buffer) (delete-window)))
>> (run-mode-hooks 'help-mode-hook))
I see another bug introduced by this change. To reproduce:
emacs -Q -eval '(push "*Help*" special-display-buffer-names)'
C-x 2
C-x b RET
==> the frame contains the *Messages* window above the *scratch*
C-h f gnus RET
Focus the *Help* buffer
Hit `q'
==> the *Messages* window was deleted, only the *scratch* buffer is
visible.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/