From 9b06a6bdfeab9920e6ba85e6a8351f609a0a05e6 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 26 May 2008 12:08:23 +0000 Subject: [PATCH] (vc-default-prettify-state-info): Fix formatting of an unknown state. --- lisp/ChangeLog | 3 +++ lisp/vc.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d4ced9ceea3..fe4d01360b7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-05-26 Andreas Schwab + * 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 diff --git a/lisp/vc.el b/lisp/vc.el index f5e332cd782..ef4aa2b7a05 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -2670,7 +2670,7 @@ to provide the `find-revision' operation instead." ((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 -- 2.39.2