Mercurial > hg > xemacs-beta
diff lisp/efs/dired.el @ 116:9f59509498e1 r20-1b10
Import from CVS: tag r20-1b10
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:23:06 +0200 |
parents | 8619ce7e4c50 |
children | 7d55a9ba150c |
line wrap: on
line diff
--- a/lisp/efs/dired.el Mon Aug 13 09:21:56 2007 +0200 +++ b/lisp/efs/dired.el Mon Aug 13 09:23:06 2007 +0200 @@ -5,7 +5,7 @@ ;; ;; File: dired.el ;; RCS: -;; Dired Version: $Revision: 1.4 $ +;; Dired Version: #Revision: 7.9 $ ;; Description: The DIRectory EDitor is for manipulating, and running ;; commands on files in a directory. ;; Authors: FSF, @@ -36,7 +36,7 @@ ;;; Dired Version -(defconst dired-version (substring "$Revision: 1.4 $" 11 -2) +(defconst dired-version (substring "#Revision: 7.9 $" 11 -2) "The revision number of Tree Dired (as a string). Don't forget to mention this when reporting bugs to: @@ -5719,7 +5719,10 @@ (function (lambda (x) (and (not (eq (current-buffer) (cdr x))) x))) - dired-buffers)))) + dired-buffers))) + ;; If there are no more dired buffers, we are no longer needed in the + ;; file-name-handler-alist. + (or dired-buffers (dired-remove-from-file-name-handler-alist))) (defun dired-fun-in-all-buffers (directory fun &rest args) ;; In all buffers dired'ing DIRECTORY, run FUN with ARGS.