|
From: | Juri Linkov |
Subject: | bug#52349: 29.0.50; vc-git and diff-mode: stage hunks |
Date: | Sat, 27 Aug 2022 22:56:30 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> A minor comment: > >> +(defun vc-diff-patch () >> + (let ((buffer "*vc-diff*") >> + (patch-string vc-patch-string)) >> + (vc-setup-buffer buffer) >> + (set-buffer buffer) > > vc-setup-buffer already did set-buffer? Thanks for noticing, will be fixed in the next version. This is because vc-diff-patch tries to duplicate code from vc-diff-internal since the same function can't be reused for vc-diff-patch.
[Prev in Thread] | Current Thread | [Next in Thread] |