From: Juanma Barranquero Date: Mon, 27 Nov 2006 13:59:39 +0000 (+0000) Subject: (menu-bar-update-buffers): "?\ " -> "?\s". X-Git-Tag: emacs-pretest-22.0.92~466 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/15e917e4f3a9dfefe4f4b44493b76c51afc1dcaf (menu-bar-update-buffers): "?\ " -> "?\s". --- diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 0aa047cd9e..2cacce96ad 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.