all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* dired-mark-pop-up leaves annoying buffers lying around
@ 2011-02-10 13:19 Antoine Levitt
  2011-02-19 18:53 ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: Antoine Levitt @ 2011-02-10 13:19 UTC (permalink / raw)
  To: emacs-devel

Any reason not to do the following?

=== modified file 'lisp/dired.el'
--- lisp/dired.el	2011-02-02 16:21:52 +0000
+++ lisp/dired.el	2011-02-10 13:14:32 +0000
@@ -2840,7 +2840,8 @@
 			      '(mouse-face nil help-echo nil)))
     (save-window-excursion
       (dired-pop-to-buffer bufname)
-      (apply function args))))
+      (apply function args)
+      (kill-buffer bufname))))
 
 (defun dired-format-columns-of-files (files)
   (let ((beg (point)))




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-19 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-10 13:19 dired-mark-pop-up leaves annoying buffers lying around Antoine Levitt
2011-02-19 18:53 ` Chong Yidong
2011-02-19 20:38   ` Antoine Levitt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.