aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/menu-bar.el
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1994-05-12 17:02:15 +0000
committerKarl Heuer <[email protected]>1994-05-12 17:02:15 +0000
commit56df6a3f7f01e65eee108c2b61cb27030cde7e35 (patch)
treeb6a31d2687b26de418d07b62113e2a4d937de051 /lisp/menu-bar.el
parentd6f08da40f6c98991c772bc28cad12117cc81fc8 (diff)
(menu-bar-update-buffers): Don't use string-match.
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r--lisp/menu-bar.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index d198381bab..8b33d7d08c 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -293,8 +293,7 @@ A large number or nil slows down menu responsiveness.")
(setq tail buffers)
(while tail
(let ((elt (car tail)))
- (if (not (string-match "^ "
- (buffer-name elt)))
+ (or (eq ?\ (aref (buffer-name elt) 0))
(setq alist (cons
(cons
(format