]> code.delx.au - gnu-emacs/commitdiff
(menu-bar-update-buffers): "?\ " -> "?\s".
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 27 Nov 2006 13:59:39 +0000 (13:59 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 27 Nov 2006 13:59:39 +0000 (13:59 +0000)
lisp/menu-bar.el

index 0aa047cd9ef440ca361cbe806e34a489b4a20246..2cacce96adceb2aad8fb443a76334b452fb92faa 100644 (file)
@@ -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.