changeset 66437:5a1898d736d0

(dired-virtual): Don't use `dired-insert-headerline'.
author Masatake YAMATO <jet@gyve.org>
date Tue, 25 Oct 2005 12:02:47 +0000
parents 3c3d62e5a544
children 71a815b63b2b
files lisp/ChangeLog lisp/dired-x.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Oct 25 10:39:14 2005 +0000
+++ b/lisp/ChangeLog	Tue Oct 25 12:02:47 2005 +0000
@@ -1,3 +1,7 @@
+2005-10-25  Masatake YAMATO  <jet@gyve.org>
+
+	* dired-x.el (dired-virtual): Don't use `dired-insert-headerline'.
+
 2005-10-25  Michael Cadilhac  <michael.cadilhac-@t-lrde.epita.fr>  (tiny change)
 
 	* play/blackbox.el (blackbox-redefine-key): New function.
--- a/lisp/dired-x.el	Tue Oct 25 10:39:14 2005 +0000
+++ b/lisp/dired-x.el	Tue Oct 25 12:02:47 2005 +0000
@@ -678,7 +678,9 @@
   ;; decent subdir headerline:
   (goto-char (point-min))
   (or (looking-at dired-subdir-regexp)
-      (dired-insert-headerline default-directory))
+      (insert "  " 
+	      (directory-file-name (file-name-directory default-directory))
+	      ":\n"))
   (dired-mode dirname (or switches dired-listing-switches))
   (setq mode-name "Virtual Dired"
         revert-buffer-function 'dired-virtual-revert)