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
f7aabd88
Commit
f7aabd88
authored
Jun 07, 1995
by
Karl Heuer
Browse files
(vc-register): Clean error message if no visited file.
parent
c6431f12
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lisp/vc.el
lisp/vc.el
+2
-0
No files found.
lisp/vc.el
View file @
f7aabd88
...
...
@@ -640,6 +640,8 @@ merge in the changes into your working copy."
"Register the current file into your version-control system."
(
interactive
"P"
)
(
let
((
master
(
vc-name
buffer-file-name
)))
(
or
buffer-file-name
(
error
"No visited file"
))
(
and
master
(
file-exists-p
master
)
(
error
"This file is already registered"
))
(
and
master
...
...
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