]> git.eshelyaron.com Git - emacs.git/commitdiff
(Buffer-menu-select): Fix for effect of header line.
authorAndreas Schwab <schwab@suse.de>
Sat, 11 Jan 2003 23:15:10 +0000 (23:15 +0000)
committerAndreas Schwab <schwab@suse.de>
Sat, 11 Jan 2003 23:15:10 +0000 (23:15 +0000)
lisp/buff-menu.el

index c7bb7009241a8c995764c8da3175baaf8dc8a1c5..696b7245d16ba169c363f41990db170e7906928e 100644 (file)
@@ -373,7 +373,9 @@ in the selected frame."
        (others ())
        tem)
     (goto-char (point-min))
-    (while (search-forward "\n>" nil t)
+    (unless Buffer-menu-use-header-line
+      (forward-line 1))
+    (while (re-search-forward "^>" nil t)
       (setq tem (Buffer-menu-buffer t))
       (let ((buffer-read-only nil))
        (delete-char -1)