# HG changeset patch # User Eli Zaretskii # Date 1154784617 0 # Node ID 40a24db2adc479fac9511ef304a9f6924168628d # Parent 94e8cc9b752d772b192dcf7b49fe7ab5fe746b05 (list-buffers-noselect): For Info buffers, use "(file)node" instead of the file name. diff -r 94e8cc9b752d -r 40a24db2adc4 lisp/buff-menu.el --- a/lisp/buff-menu.el Sat Aug 05 13:01:50 2006 +0000 +++ b/lisp/buff-menu.el Sat Aug 05 13:30:17 2006 +0000 @@ -117,6 +117,7 @@ Auto Revert Mode.") (defvar Info-current-file) ;; from info.el +(defvar Info-current-node) ;; from info.el (make-variable-buffer-local 'Buffer-menu-files-only) @@ -786,7 +787,12 @@ ((eq file 'toc) (setq file "*Info TOC*")) ((not (stringp file)) ;; avoid errors - (setq file nil)))))) + (setq file nil)) + (t + (setq file (concat "(" + (file-name-nondirectory file) + ")" + Info-current-node))))))) (push (list buffer bits name (buffer-size) mode file) list)))))) ;; Preserve the original buffer-list ordering, just in case.