summaryrefslogtreecommitdiff
path: root/lisp/dired-x.el
diff options
context:
space:
mode:
authorMasatake YAMATO <jet@gyve.org>2005-10-25 12:02:47 +0000
committerMasatake YAMATO <jet@gyve.org>2005-10-25 12:02:47 +0000
commitfc50a3be61dca43ffe9a855b4679a42d91c33ead (patch)
tree94357a6bc36d74ca32d1f99e0027ddb67b3a286e /lisp/dired-x.el
parentc7b5b94b1f537bf6d178c9af6101d83fa28b0c06 (diff)
downloademacs-fc50a3be61dca43ffe9a855b4679a42d91c33ead.tar.gz
(dired-virtual): Don't use `dired-insert-headerline'.
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r--lisp/dired-x.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 50c52f0ab6b..7c6adbe8448 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -678,7 +678,9 @@ you can relist single subdirs using \\[dired-do-redisplay]."
;; 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)