emacs-devel
[Top][All Lists]
Advanced

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

dired-mark-pop-up leaves annoying buffers lying around


From: Antoine Levitt
Subject: dired-mark-pop-up leaves annoying buffers lying around
Date: Thu, 10 Feb 2011 14:19:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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)))




reply via email to

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