From 15e917e4f3a9dfefe4f4b44493b76c51afc1dcaf Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 27 Nov 2006 13:59:39 +0000 Subject: [PATCH] (menu-bar-update-buffers): "?\ " -> "?\s". --- lisp/menu-bar.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 0aa047cd9ef..2cacce96adc 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -1596,14 +1596,14 @@ Buffers menu is regenerated." name)))) ;; Compute the maximum length of any name. (dolist (buf buffer-list) - (unless (eq ?\ (aref (cdr buf) 0)) + (unless (eq ?\s (aref (cdr buf) 0)) (setq menu-bar-update-buffers-maxbuf (max menu-bar-update-buffers-maxbuf (length (cdr buf)))))) ;; Set ALIST to an alist of the form ;; ITEM-STRING . BUFFER (dolist (buf buffer-list) - (unless (eq ?\ (aref (cdr buf) 0)) + (unless (eq ?\s (aref (cdr buf) 0)) (push (menu-bar-update-buffers-1 buf) alist))) ;; Now make the actual list of items, and add ;; some miscellaneous buffer commands to the end. -- 2.39.2