|
From: | Juri Linkov |
Subject: | bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files |
Date: | Thu, 15 Dec 2011 23:30:55 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (x86_64-pc-linux-gnu) |
> (eval-after-load "compile" > '(progn > (define-key compilation-mode-map ... ??? > > I tired several things but nothing worked. Perhaps the "remap" above > ruined it for everything. You could try: (define-key special-mode-map "q" (lambda () (interactive) (quit-window (not current-prefix-arg)))) (eval-after-load "compile" '(progn (define-key compilation-mode-map "q" 'quit-window))) PS: This means that in 24.2 we should add two customizable options: one with a list of modes to remap, and one with a list of modes to exclude from remapping.
[Prev in Thread] | Current Thread | [Next in Thread] |