emacs-devel
[Top][All Lists]
Advanced

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

Re: master 4803fba487 1/2: 'C-x v v' on a diff buffer commits it as a pa


From: Jonas Bernoulli
Subject: Re: master 4803fba487 1/2: 'C-x v v' on a diff buffer commits it as a patch (bug#52349)
Date: Wed, 31 Aug 2022 17:48:15 +0200

Eli Zaretskii <eliz@gnu.org> writes:

>> VC is far more flexible and Emacs-y than Magit in how it handles
>> buffers.
>
> I'm sure frequent users of Magit disagree.

Maybe, but as its maintainer, I increasingly agree. ;)

A quick hack to make it use more buffers:

  (add-hook 'magit-create-buffer-hook 'magit-create-buffer-lock)

  (defun magit-create-buffer-lock ()
    (and (magit-buffer-value)
         (magit-toggle-buffer-lock)))

(I wrote that just now and didn't test much. Things might blow up.)



reply via email to

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