From: Richard M. Stallman Date: Thu, 7 May 1998 21:34:54 +0000 (+0000) Subject: (vc-consult-rcs-headers): Fix previous change. X-Git-Tag: emacs-20.3~1092 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b13a9b1b60da0b3b0260e56fb9fa04eee153eb05;p=emacs.git (vc-consult-rcs-headers): Fix previous change. --- diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index aeab27f5302..709e7014262 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el @@ -5,7 +5,7 @@ ;; Author: Eric S. Raymond ;; Maintainer: Andre Spiegel -;; $Id: vc-hooks.el,v 1.107 1998/05/02 16:41:44 spiegel Exp spiegel $ +;; $Id: vc-hooks.el,v 1.108 1998/05/06 13:36:45 spiegel Exp rms $ ;; This file is part of GNU Emacs. @@ -433,11 +433,11 @@ similarly for other version control systems." (cond ;; search for $Id or $Header ;; ------------------------- - ;; The ':\ 's below avoid an RCS 5.7 bug when checking in this file. - ((or (and (search-forward "$Id:\ " nil t) + ;; The `\ 's below avoid an RCS 5.7 bug when checking in this file. + ((or (and (search-forward "$Id\ : " nil t) (looking-at "[^ ]+ \\([0-9.]+\\) ")) (and (progn (goto-char (point-min)) - (search-forward "$Header:\ " nil t)) + (search-forward "$Header\ : " nil t)) (looking-at "[^ ]+ \\([0-9.]+\\) "))) (goto-char (match-end 0)) ;; if found, store the revision number ...