help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Some way to have cursor focus on help windows automatically?


From: Allan Gottlieb
Subject: Re: Some way to have cursor focus on help windows automatically?
Date: Sat, 20 Oct 2007 18:00:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

At Fri, 19 Oct 2007 15:00:07 +0200 Juanma Barranquero <address@hidden> wrote:

> On 10/19/07, address@hidden <address@hidden> wrote:
>
>> When I do C-h <whatever> and the buffer-window splits to display the
>> help buffer, I want the focus to go to the help buffer so I can just
>> to "q" to get rid of it. So much more convenient what C-x 1 in the
>> original buffer. Any way to set this?

This is very nice.  Thanks for pointing it out.  For anyone wanting to
try it, just add these four lines to .emacs.

(require 'ehelp)
(define-key global-map "\C-h" 'ehelp-command)
(define-key global-map [help] 'ehelp-command)
(define-key global-map [f1] 'ehelp-command)

allan




reply via email to

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