Commit 56df6a3f authored by Karl Heuer's avatar Karl Heuer
Browse files

(menu-bar-update-buffers): Don't use string-match.

parent d6f08da4
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment