diff options
| -rw-r--r-- | lisp/vc/vc-dir.el | 5 | ||||
| -rw-r--r-- | lisp/vc/vc-git.el | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el index 41b1087ee59..be1084d4abe 100644 --- a/lisp/vc/vc-dir.el +++ b/lisp/vc/vc-dir.el | |||
| @@ -786,6 +786,11 @@ that share the same state." | |||
| 786 | (display-buffer (find-file-noselect (vc-dir-current-file)) | 786 | (display-buffer (find-file-noselect (vc-dir-current-file)) |
| 787 | t)) | 787 | t)) |
| 788 | 788 | ||
| 789 | (defun vc-dir-view-file () | ||
| 790 | "Examine a file on the current line in view mode." | ||
| 791 | (interactive) | ||
| 792 | (view-file (vc-dir-current-file))) | ||
| 793 | |||
| 789 | (defun vc-dir-isearch () | 794 | (defun vc-dir-isearch () |
| 790 | "Search for a string through all marked buffers using Isearch." | 795 | "Search for a string through all marked buffers using Isearch." |
| 791 | (interactive) | 796 | (interactive) |
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index f62e1083229..8b828563325 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el | |||
| @@ -1048,7 +1048,6 @@ If LIMIT is a revision string, use it as an end-revision." | |||
| 1048 | '("--"))))))) | 1048 | '("--"))))))) |
| 1049 | 1049 | ||
| 1050 | (defun vc-git-log-outgoing (buffer remote-location) | 1050 | (defun vc-git-log-outgoing (buffer remote-location) |
| 1051 | (interactive) | ||
| 1052 | (vc-setup-buffer buffer) | 1051 | (vc-setup-buffer buffer) |
| 1053 | (vc-git-command | 1052 | (vc-git-command |
| 1054 | buffer 'async nil | 1053 | buffer 'async nil |
| @@ -1062,7 +1061,6 @@ If LIMIT is a revision string, use it as an end-revision." | |||
| 1062 | "..HEAD"))) | 1061 | "..HEAD"))) |
| 1063 | 1062 | ||
| 1064 | (defun vc-git-log-incoming (buffer remote-location) | 1063 | (defun vc-git-log-incoming (buffer remote-location) |
| 1065 | (interactive) | ||
| 1066 | (vc-setup-buffer buffer) | 1064 | (vc-setup-buffer buffer) |
| 1067 | (vc-git-command nil 0 nil "fetch") | 1065 | (vc-git-command nil 0 nil "fetch") |
| 1068 | (vc-git-command | 1066 | (vc-git-command |