[Top][All Lists]

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

Re: Bind `q' to `quit-window' or similar in *Messages*

From: Davis Herring
Subject: Re: Bind `q' to `quit-window' or similar in *Messages*
Date: Tue, 16 Feb 2010 08:42:06 -0800 (PST)
User-agent: SquirrelMail/1.4.8-5.7.lanl7

> Inspired by this proposal I set off to write a function which binds
> `q' to `quit-window' in any read-only buffer. However, I was unable to
> find a suitable hook to call the function from.
> Any ideas?

`diff-mode' achieves a similar effect by adding an element to
`minor-mode-map-alist' with the variable `buffer-read-only' as the key.


This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during

reply via email to

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