# HG changeset patch # User Glenn Morris # Date 1188800356 0 # Node ID 3fe905e1a61889970d3d31d6ce45d80c62300173 # Parent d935eac5e18df93ccf2ba4f4022112dd0fbeead8 (vc-svn-print-log): Change the "Working file" prefix back to singular, for the sake of log-view. diff -r d935eac5e18d -r 3fe905e1a618 lisp/vc-svn.el --- a/lisp/vc-svn.el Mon Sep 03 06:18:58 2007 +0000 +++ b/lisp/vc-svn.el Mon Sep 03 06:19:16 2007 +0000 @@ -382,7 +382,14 @@ (let ((inhibit-read-only t)) (goto-char (point-min)) ;; Add a line to tell log-view-mode what file this is. - (insert "Working file(s): " (vc-delistify (mapcar 'file-relative-name files)) "\n")) + ;; FIXME as far as I can tell, this function at present can only + ;; be called with a single file argument. Therefore I changed + ;; the prompt back to singular, "file(s)" -> "file", since + ;; otherwise log-view-current-file breaks. It's trivial to + ;; adapt log-view-file-re for the new prefix, but less trivial + ;; to make log-view-current-file actually do the right thing in + ;; the multiple file case. + (insert "Working file: " (vc-delistify (mapcar 'file-relative-name files)) "\n")) (vc-svn-command buffer (if (and (= (length files) 1) (vc-stay-local-p (car files)) (fboundp 'start-process)) 'async 0)