Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e6fe301a
Commit
e6fe301a
authored
Dec 02, 2014
by
Eric S. Raymond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another longstanding to-do: bind vc-delete-file.
parent
92411a0d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/vc/vc-hooks.el
lisp/vc/vc-hooks.el
+1
-0
lisp/vc/vc.el
lisp/vc/vc.el
+1
-3
No files found.
lisp/ChangeLog
View file @
e6fe301a
2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
* vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
* vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
improving behavior on directories using multiple file-oriented
VCSes.
* vc/vc.el and all backends: API simplification; clear-headers
is no longer a public method. It is now local to the one place
it's used, in the RCS steal-lock method.
...
...
lisp/vc/vc-hooks.el
View file @
e6fe301a
...
...
@@ -893,6 +893,7 @@ current, and kill the buffer that visits the link."
(
define-key
map
"="
'vc-diff
)
(
define-key
map
"D"
'vc-root-diff
)
(
define-key
map
"~"
'vc-revision-other-window
)
(
define-key
map
"[delete]"
'vc-delete-file
)
map
))
(
fset
'vc-prefix-map
vc-prefix-map
)
(
define-key
ctl-x-map
"v"
'vc-prefix-map
)
...
...
lisp/vc/vc.el
View file @
e6fe301a
...
...
@@ -602,15 +602,13 @@
;;; Todo:
;; - Add key-binding for vc-delete-file.
;;;; New Primitives:
;;
;; - deal with push operations.
;;
;;;; Primitives that need changing:
;;
;; - vc-update/vc-merge should deal with VC systems that don't
;; - vc-update/vc-merge should deal with VC systems that don't
do
;; update/merge on a file basis, but on a whole repository basis.
;; vc-update and vc-merge assume the arguments are always files,
;; they don't deal with directories. Make sure the *vc-dir* buffer
...
...
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