Subject: Re: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files
From: Juri Linkov <[email-masked]>
To: Chong Yidong <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Thu, 24 Nov 2011 09:10:45 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> So I think you're right, we should revert 105285.

Done.

> The original behavior requested by the OP (making `q' delete the
> buffer) can be handled, as discussed, by introducing an option to make
> quit-window delete the buffer---but that bit can wait till post-24.1.

Meanwhile, jidanni and other users could use a redefinition
recommended by Stefan:

(global-set-key [remap quit-window]
  (lambda () (interactive) (quit-window (not current-prefix-arg))))

or

(define-key special-mode-map "q"
  (lambda () (interactive) (quit-window (not current-prefix-arg))))