Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b13a9b1b
Commit
b13a9b1b
authored
May 07, 1998
by
Richard M. Stallman
Browse files
(vc-consult-rcs-headers): Fix previous change.
parent
dedd2c6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lisp/vc-hooks.el
lisp/vc-hooks.el
+4
-4
No files found.
lisp/vc-hooks.el
View file @
b13a9b1b
...
...
@@ -5,7 +5,7 @@
;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de>
;; $Id: vc-hooks.el,v 1.10
7
1998/05/0
2
1
6:41
:4
4
spiegel Exp
spiegel
$
;; $Id: vc-hooks.el,v 1.10
8
1998/05/0
6
1
3:36
:4
5
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 ...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment