Mercurial > emacs
changeset 4170:bc40c23884ec
(vc-rcs-status): Use "-", not " ", to separate locks, so that the RCS
minor mode doesn't contain internal spaces.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Tue, 20 Jul 1993 02:25:19 +0000 |
parents | 45b07ea88511 |
children | 341cd3b063ae |
files | lisp/vc-hooks.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vc-hooks.el Tue Jul 20 01:11:28 1993 +0000 +++ b/lisp/vc-hooks.el Tue Jul 20 02:25:19 1993 +0000 @@ -210,20 +210,20 @@ (let* ((lock-pattern (concat "[ \b\t\n\v\f\r]+\\(" (regexp-quote (user-login-name)) - ":\\|\\)")) + ":\\)?")) (locks (save-restriction (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 "-" t t)) (buffer-string))) (status (if (not (string-equal locks "")) locks (goto-char (point-min)) (if (looking-at "head[ \b\t\n\v\f\r]+\\([.0-9]+\\)") - (concat " " (buffer-substring (match-beginning 1) + (concat "-" (buffer-substring (match-beginning 1) (match-end 1))) " @@")))) ;; Clean work buffer.