Commit 147a2a88 authored by Juri Linkov's avatar Juri Linkov

* lisp/vc/vc-dir.el (vc-dir-view-file): New command for consistency with dired

* lisp/vc/vc-git.el (vc-git-log-incoming, vc-git-log-outgoing):
Remove interactive spec from non-command functions.  (Bug#12492)
parent 8d09cb21
Pipeline #2289 failed with stage
in 70 minutes and 15 seconds
......@@ -786,6 +786,11 @@ that share the same state."
(display-buffer (find-file-noselect (vc-dir-current-file))
t))
(defun vc-dir-view-file ()
"Examine a file on the current line in view mode."
(interactive)
(view-file (vc-dir-current-file)))
(defun vc-dir-isearch ()
"Search for a string through all marked buffers using Isearch."
(interactive)
......
......@@ -1048,7 +1048,6 @@ If LIMIT is a revision string, use it as an end-revision."
'("--")))))))
(defun vc-git-log-outgoing (buffer remote-location)
(interactive)
(vc-setup-buffer buffer)
(vc-git-command
buffer 'async nil
......@@ -1062,7 +1061,6 @@ If LIMIT is a revision string, use it as an end-revision."
"..HEAD")))
(defun vc-git-log-incoming (buffer remote-location)
(interactive)
(vc-setup-buffer buffer)
(vc-git-command nil 0 nil "fetch")
(vc-git-command
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment