# HG changeset patch # User Stefan Monnier # Date 1143840783 0 # Node ID 768d198de59832801bbabf7cd8d3b73ba396f784 # Parent 11037ada171e661c4bd72966bf1c958688f08e79 (cvs-insert-strings): Fix bug with strings longer than wwidth. diff -r 11037ada171e -r 768d198de598 lisp/ChangeLog --- a/lisp/ChangeLog Fri Mar 31 17:44:40 2006 +0000 +++ b/lisp/ChangeLog Fri Mar 31 21:33:03 2006 +0000 @@ -1,3 +1,8 @@ +2006-03-13 Stefan Monnier + + * pcvs-util.el (cvs-insert-strings): Fix bug with strings longer than + wwidth. + 2006-03-31 Juanma Barranquero * ido.el (ido-cache-unc-host-shares-time, ido-report-no-match) @@ -440,11 +445,6 @@ * tree-widget.el (tree-widget-themes-load-path) (tree-widget-themes-directory, tree-widget-theme): Doc fix. -2006-03-13 Stefan Monnier - - * pcvs-util.el (cvs-insert-strings): Fix bug with strings longer than - wwidth. - 2006-03-13 Ryan Yeske * net/rcirc.el (rcirc) : Add link to manual. diff -r 11037ada171e -r 768d198de598 lisp/pcvs-util.el --- a/lisp/pcvs-util.el Fri Mar 31 17:44:40 2006 +0000 +++ b/lisp/pcvs-util.el Fri Mar 31 21:33:03 2006 +0000 @@ -157,10 +157,11 @@ (setq tab-width colwidth) ;; The insertion should be "sensible" no matter what choices were made. (dolist (str strings) - (unless (bolp) (insert " \t")) - (when (< wwidth (+ (max colwidth (length str)) (current-column))) - (delete-char -2) (insert "\n")) - (insert str))))) + (unless (bolp) + (insert " \t") + (when (< wwidth (+ (max colwidth (length str)) (current-column))) + (delete-char -2) (insert "\n"))) + (insert str))))) (defun cvs-file-to-string (file &optional oneline args) @@ -357,7 +358,8 @@ and reset the persistence." (let* ((prefix (symbol-value (cvs-prefix-sym sym))) (numarg (if (integerp arg) arg 0)) - (defs (cvs-flags-defaults prefix))) + ;; (defs (cvs-flags-defaults prefix)) + ) ;; set persistence if requested (when (> (prefix-numeric-value arg) 9)