summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-04-13 14:56:10 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-04-13 14:56:10 +0000
commit949b99f88dee75d64fce684a57574f2372dd938d (patch)
tree3e8fc74fcfdb7a6fec65e308fc1c84e8d21a9e8e
parenta8d5811be319afefcb196625aaf0f877057309f6 (diff)
downloademacs-949b99f88dee75d64fce684a57574f2372dd938d.tar.gz
Add comments.
-rw-r--r--lisp/pcvs-util.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/pcvs-util.el b/lisp/pcvs-util.el
index b3fea977636..d0f14a0a174 100644
--- a/lisp/pcvs-util.el
+++ b/lisp/pcvs-util.el
@@ -5,7 +5,7 @@
;; Author: Stefan Monnier <monnier@cs.yale.edu>
;; Keywords: pcl-cvs
-;; Revision: $Id: pcvs-util.el,v 1.10 2001/03/07 00:19:08 monnier Exp $
+;; Revision: $Id: pcvs-util.el,v 1.11 2001/03/20 20:26:13 johnw Exp $
;; This file is part of GNU Emacs.
@@ -167,8 +167,10 @@ Uses columns to keep the listing readable but compact."
;; At least 2 columns; at least 2 spaces between columns.
(max 2 (/ wwidth (+ 2 length)))
;; Don't allocate more columns than we can fill.
+ ;; Windows can't show less than 3 lines anyway.
(max 1 (/ (length strings) 2))))
(colwidth (/ wwidth columns)))
+ ;; Use tab-width rather than indent-to.
(setq tab-width colwidth)
;; The insertion should be "sensible" no matter what choices were made.
(dolist (str strings)