Mercurial > emacs
diff lisp/menu-bar.el @ 4048:26b434331fce
(mouse-menu-bar-buffers):
Don't lose if all buffer names are short.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 09 Jul 1993 04:04:39 +0000 |
parents | 92cd14c9ea80 |
children | 7279958409fe |
line wrap: on
line diff
--- a/lisp/menu-bar.el Thu Jul 08 23:45:22 1993 +0000 +++ b/lisp/menu-bar.el Fri Jul 09 04:04:39 1993 +0000 @@ -197,7 +197,7 @@ (setq maxlen (length (car (car head)))))) (setq tail (cdr tail))) (nconc (reverse head) - (list (cons (concat (make-string (- (/ maxlen 2) 8) ?\ ) + (list (cons (concat (make-string (max 0 (- (/ maxlen 2) 8)) ?\ ) "List All Buffers") 'list-buffers)))))))