(list-buffers-noselect): Use abbreviate-file-name
authorGerd Moellmann <gerd@gnu.org>
Fri, 12 Nov 1999 12:43:32 +0000 (12:43 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 12 Nov 1999 12:43:32 +0000 (12:43 +0000)
to display file names.

lisp/ChangeLog
lisp/buff-menu.el

index c5d7760..5e2814c 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-12  Gerd Moellmann  <gerd@gnu.org>
+
+       * buff-menu.el (list-buffers-noselect): Use abbreviate-file-name
+       to display file names.
+
 1999-11-11  Gerd Moellmann  <gerd@gnu.org>
 
        * mwheel.el: Fix copyright notice, don't require 'cl at run time.
index 8861ccf..18b46dc 100644 (file)
@@ -566,7 +566,7 @@ The R column contains a % for buffers that are read-only."
              (indent-to 40 1)
              (or file (setq file this-buffer-directory))
              (if file
-                 (princ file))
+                 (princ (abbreviate-file-name file)))
              (princ "\n"))))
          (setq bl (cdr bl))))
       (Buffer-menu-mode)