changeset 95314:325b3c8ac762

(vc-default-prettify-state-info): Fix formatting of an unknown state.
author Andreas Schwab <schwab@suse.de>
date Mon, 26 May 2008 12:08:23 +0000
parents 42018959645c
children 3d4da4481f75
files lisp/ChangeLog lisp/vc.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon May 26 12:03:03 2008 +0000
+++ b/lisp/ChangeLog	Mon May 26 12:08:23 2008 +0000
@@ -1,5 +1,8 @@
 2008-05-26  Andreas Schwab  <schwab@suse.de>
 
+	* vc.el (vc-default-prettify-state-info): Fix formatting of an
+	unknown state.
+
 	* tar-mode.el (tar-summarize-buffer): Comment fix.
 
 2008-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
--- a/lisp/vc.el	Mon May 26 12:03:03 2008 +0000
+++ b/lisp/vc.el	Mon May 26 12:08:23 2008 +0000
@@ -2670,7 +2670,7 @@
           ((eq state 'ignored) "(ignored)")
           ((eq state 'unregistered) "(unregistered)")
 	  ((eq state 'unlocked-changes) "(stale)")
-	  (t (concat "(unknown:" state ")"))))
+	  (t (format "(unknown:%s)" state))))
 	(buffer
 	 (get-file-buffer file))
 	(modflag