changeset 106476:97d377672952

* vc-bzr.el (vc-bzr-annotate-command): More elegant form for last change. Suggested by David Kastrup.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 07 Dec 2009 16:18:42 +0000
parents 5354cbc99ef1
children 51b191bf2e2e
files lisp/ChangeLog lisp/vc-bzr.el
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Dec 07 16:14:23 2009 +0000
+++ b/lisp/ChangeLog	Mon Dec 07 16:18:42 2009 +0000
@@ -6,6 +6,9 @@
 
 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
 
+	* vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
+	change.  Suggested by David Kastrup.
+
 	* simple.el (compose-mail): Check for incompatibilities and warn.
 	(compose-mail-user-agent-warnings): New option.
 
--- a/lisp/vc-bzr.el	Mon Dec 07 16:14:23 2009 +0000
+++ b/lisp/vc-bzr.el	Mon Dec 07 16:18:42 2009 +0000
@@ -579,8 +579,7 @@
 	       (unless tag
 		 (setq tag
 		       (propertize
-			(concat rev " " (substring (concat author "       ")
-						   0 7))
+			(format "%s %-7.7s" rev author)
 			'help-echo (format "Revision: %d, author: %s, date: %s"
 					   (string-to-number rev)
 					   author date)