1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

(dired-virtual): Don't use `dired-insert-headerline'.

This commit is contained in:
Masatake YAMATO 2005-10-25 12:02:47 +00:00
parent c7b5b94b1f
commit fc50a3be61
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

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