GNU bug report logs - #8615
Please make sure v q removes the buffer for JPGs just like it does for other files

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Wed, 4 May 2011 18:18:01 UTC

Severity: minor

Tags: fixed

Merged with 6954

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: jidanni <at> jidanni.org
Cc: larsi <at> gnus.org, cyd <at> gnu.org, 8615 <at> debbugs.gnu.org
Subject: bug#8615: Please make sure v q removes the buffer for JPGs just like it does for other files
Date: Thu, 08 Dec 2011 11:01:04 +0200
> I only want viewing of images, and OK maybe directories too to disappear
> from the buffer list upon 'q'. The rest is overkill. I like the
> *compilation* buffer etc. to stay around even if no running process. Help.

Then bind them separately:

(eval-after-load "image-mode"
  '(progn
     (define-key image-mode-map "q"
       (lambda () (interactive) (quit-window (not current-prefix-arg))))))

(eval-after-load "dired"
  '(progn
     (define-key dired-mode-map "q"
       (lambda () (interactive) (quit-window (not current-prefix-arg))))))




This bug report was last modified 13 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.