emacs-devel
[Top][All Lists]
Advanced

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

help-mode changes


From: Romain Francoise
Subject: help-mode changes
Date: Wed, 19 Apr 2006 08:46:25 +0200

This change:

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''.

"Richard M. Stallman" <address@hidden> writes:

> Index: emacs/lisp/help-mode.el
> diff -u emacs/lisp/help-mode.el:1.44 emacs/lisp/help-mode.el:1.45
> --- emacs/lisp/help-mode.el:1.44      Mon Mar 20 00:42:21 2006
> +++ emacs/lisp/help-mode.el   Tue Apr 18 21:18:27 2006
> @@ -197,6 +197,7 @@
>    (view-mode)
>    (make-local-variable 'view-no-disable-on-exit)
>    (setq view-no-disable-on-exit t)
> +  (setq view-exit-action (lambda (buffer) (delete-window)))
>    (run-mode-hooks 'help-mode-hook))
>  
>  ;;;###autoload

-- 
Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter




reply via email to

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