diff options
Diffstat (limited to 'lisp/vc/vc-dir.el')
-rw-r--r-- | lisp/vc/vc-dir.el | 5 |
1 files changed, 5 insertions, 0 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." (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) |