(vc-rcs-status): Removing any trailing "-".
authorPaul Eggert <eggert@twinsun.com>
Tue, 27 Jul 1993 19:28:46 +0000 (19:28 +0000)
committerPaul Eggert <eggert@twinsun.com>
Tue, 27 Jul 1993 19:28:46 +0000 (19:28 +0000)
lisp/vc-hooks.el

index c120b7c..e9b28f9 100644 (file)
@@ -216,7 +216,7 @@ visiting FILE."
                        (narrow-to-region (match-beginning 1) (match-end 1))
                        (goto-char (point-min))
                        (while (re-search-forward lock-pattern nil t)
-                         (replace-match "-" t t))
+                         (replace-match (if (eobp) "" "-") t t))
                        (buffer-string)))
                     (status
                      (if (not (string-equal locks ""))