update.
[chise/xemacs-chise.git-] / lisp / buff-menu.el
index b93feb4..49d09d0 100644 (file)
@@ -356,6 +356,8 @@ in the selected frame."
 
 
 \f
+(eval-when-compile (autoload 'visit-tags-table "etags"))
+
 (defun Buffer-menu-visit-tags-table ()
   "Visit the tags table in the buffer on this line.  See `visit-tags-table'."
   (interactive)
@@ -634,6 +636,11 @@ The R column contains a % for buffers that are read-only."
                             files-only))
     buffer))
 
+(defun buffers-menu-omit-invisible-buffers (buf)
+  "For use as a value of `buffers-menu-omit-function'.
+Omits normally invisible buffers (those whose name begins with a space)."
+  (not (null (string-match "\\` " (buffer-name buf)))))
+
 (provide 'buff-menu)
 
 ;;; buff-menu.el ends here