Mercurial > hg > xemacs-beta
diff lisp/gutter-items.el @ 452:3d3049ae1304 r21-2-41
Import from CVS: tag r21-2-41
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:40:21 +0200 |
parents | 1ccc32a20af4 |
children | c33ae14dd6d0 |
line wrap: on
line diff
--- a/lisp/gutter-items.el Mon Aug 13 11:39:21 2007 +0200 +++ b/lisp/gutter-items.el Mon Aug 13 11:40:21 2007 +0200 @@ -277,7 +277,7 @@ (and (integerp buffers-tab-max-size) (> buffers-tab-max-size 1) (> (length buffers) buffers-tab-max-size) - (setcdr (nthcdr buffers-tab-max-size buffers) nil)) + (setcdr (nthcdr (1- buffers-tab-max-size) buffers) nil)) ;; sort buffers in group (default is most-recently-selected) (when buffers-tab-sort-function (setq buffers (funcall buffers-tab-sort-function buffers)))