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
76a8bf4c
Commit
76a8bf4c
authored
Jun 07, 1995
by
Karl Heuer
Browse files
(vc-menu-map): Disable Register when no visited file.
parent
630f4018
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/vc-hooks.el
lisp/vc-hooks.el
+1
-1
No files found.
lisp/vc-hooks.el
View file @
76a8bf4c
...
@@ -829,7 +829,7 @@ Returns t if checkout was successful, nil otherwise."
...
@@ -829,7 +829,7 @@ Returns t if checkout was successful, nil otherwise."
(
put
'vc-insert-headers
'menu-enable
'vc-mode
)
(
put
'vc-insert-headers
'menu-enable
'vc-mode
)
(
put
'vc-next-action
'menu-enable
'
(
and
vc-mode
(
not
buffer-read-only
)))
(
put
'vc-next-action
'menu-enable
'
(
and
vc-mode
(
not
buffer-read-only
)))
(
put
'vc-toggle-read-only
'menu-enable
'
(
and
vc-mode
buffer-read-only
))
(
put
'vc-toggle-read-only
'menu-enable
'
(
and
vc-mode
buffer-read-only
))
(
put
'vc-register
'menu-enable
'
(
not
vc-mode
))
(
put
'vc-register
'menu-enable
'
(
and
buffer-file-name
(
not
vc-mode
))
)
)
)
(
provide
'vc-hooks
)
(
provide
'vc-hooks
)
...
...
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