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
2bb00bdd
Commit
2bb00bdd
authored
Feb 10, 1997
by
Richard M. Stallman
Browse files
(vc-do-command): If OKSTATUS is nil, ignore errors.
(vc-backend-release): For RCS, pass nil for OKSTATUS.
parent
7bf5e9e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/vc.el
lisp/vc.el
+3
-2
No files found.
lisp/vc.el
View file @
2bb00bdd
...
...
@@ -217,7 +217,7 @@ If nil, VC itself computes this value when it is first needed.")
(
cond
((
eq
backend
'RCS
)
(
or
vc-rcs-release
(
and
(
zerop
(
vc-do-command
nil
2
"rcs"
nil
nil
"-V"
))
(
and
(
zerop
(
vc-do-command
nil
nil
"rcs"
nil
nil
"-V"
))
(
save-excursion
(
set-buffer
(
get-buffer
"*vc*"
))
(
setq
vc-rcs-release
...
...
@@ -377,6 +377,7 @@ If nil, VC itself computes this value when it is first needed.")
"Execute a version-control command, notifying user and checking for errors.
Output from COMMAND goes to BUFFER, or *vc* if BUFFER is nil.
The command is successful if its exit status does not exceed OKSTATUS.
(If OKSTATUS is nil, that means to ignore errors.)
The last argument of the command is the master name of FILE if LAST is
`MASTER', or the workfile of FILE if LAST is `WORKFILE'; this is appended
to an optional list of FLAGS."
...
...
@@ -421,7 +422,7 @@ to an optional list of FLAGS."
(
goto-char
(
point-max
))
(
set-buffer-modified-p
nil
)
(
forward-line
-1
)
(
if
(
or
(
not
(
integerp
status
))
(
<
okstatus
status
))
(
if
(
or
(
not
(
integerp
status
))
(
and
okstatus
(
<
okstatus
status
))
)
(
progn
(
pop-to-buffer
buffer
)
(
goto-char
(
point-min
))
...
...
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