Mercurial > emacs
changeset 18917:347133072016
(dired-omit-new-add-entry): Take new arg RELATIVE
and pass it to dired-omit-old-add-entry (which is dired-add-entry).
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 23 Jul 1997 02:51:06 +0000 |
parents | d4ff695d4034 |
children | 0e0935f23d39 |
files | lisp/dired-x.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired-x.el Wed Jul 23 02:49:08 1997 +0000 +++ b/lisp/dired-x.el Wed Jul 23 02:51:06 1997 +0000 @@ -659,7 +659,7 @@ msg))) ;;; REDEFINE. -(defun dired-omit-new-add-entry (filename &optional marker-char) +(defun dired-omit-new-add-entry (filename &optional marker-char relative) ;; This redefines dired-aux.el's dired-add-entry to avoid calling ls for ;; files that are going to be omitted anyway. (if dired-omit-files-p @@ -678,12 +678,12 @@ filename (file-name-directory filename))))))) ;; if it didn't match, go ahead and add the entry - (dired-omit-old-add-entry filename marker-char) + (dired-omit-old-add-entry filename marker-char relative) ;; dired-add-entry returns t for success, perhaps we should ;; return file-exists-p t)) ;; omitting is not turned on at all - (dired-omit-old-add-entry filename marker-char))) + (dired-omit-old-add-entry filename marker-char relative))) ;;; REDEFINE. ;;; Redefine dired-aux.el's version of `dired-add-entry'