diff lisp/vc-bzr.el @ 106466:5b7b3cac58c5

* vc-bzr.el (vc-bzr-annotate-command): Handle the case where the author field is too short.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 06 Dec 2009 23:27:55 +0000
parents 26c68e7906a5
children 6e0f1038bc44
line wrap: on
line diff
--- a/lisp/vc-bzr.el	Sun Dec 06 22:36:11 2009 +0000
+++ b/lisp/vc-bzr.el	Sun Dec 06 23:27:55 2009 +0000
@@ -574,7 +574,8 @@
 	       (unless tag
 		 (setq tag
 		       (propertize
-			(concat rev " " (substring author 0 7))
+			(concat rev " " (substring (concat author "       ")
+						   0 7))
 			'help-echo (format "Revision: %d, author: %s, date: %s"
 					   (string-to-number rev)
 					   author date)