bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19450: 25.0.50; In vc-dir display file in other window


From: Dmitry Gutov
Subject: bug#19450: 25.0.50; In vc-dir display file in other window
Date: Sat, 27 Dec 2014 10:46:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0

On 12/27/2014 03:10 AM, Juri Linkov wrote:

+(defun vc-dir-display-file (&optional event)
+  "Display the file on the current line, in another window."
+  (interactive (list last-nonmenu-event))
+  (if event (posn-set-point (event-end event)))
+  (display-buffer (find-file-noselect (vc-dir-current-file))
+                 t))

Why not use `vc-dir-find-file-other-window'?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]