; * lisp/vc/vc.el (vc-deduce-fileset): Add commentary for bug#68174.

This commit is contained in:
Eli Zaretskii 2024-01-03 14:39:30 +02:00
parent b1380af072
commit eac9757f5c

View file

@ -1157,6 +1157,9 @@ BEWARE: this function may change the current buffer."
(vc-checkout-model backend buffer-file-name))
(list backend (list buffer-file-name))))
((derived-mode-p 'log-view-mode)
;; 'log-view-mode' stashes the backend and the fileset in the
;; two special variables, so we use them to avoid any possible
;; mistakes from a decision made here ad-hoc.
(list log-view-vc-backend log-view-vc-fileset))
((and (buffer-live-p vc-parent-buffer)
;; FIXME: Why this test? --Stef