]> git.eshelyaron.com Git - emacs.git/commit
Move error check from vc-next-action to diff-vc-deduce-fileset
authorSean Whitton <spwhitton@spwhitton.name>
Wed, 2 Oct 2024 01:22:52 +0000 (09:22 +0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 3 Oct 2024 06:42:09 +0000 (08:42 +0200)
commit76960cc5e2aa71f99f2626b6e0125c652331a87b
tree0c4c2b8bae9981b1dbc01ac9fea0f5c8a3ca2e75
parent3f201f8b3ab9959bb640491697aa484a29f1c81a
Move error check from vc-next-action to diff-vc-deduce-fileset

* lisp/vc/diff-mode.el (diff-vc-deduce-fileset): Signal
user-error when the buffer is narrowed.
* lisp/vc/vc.el (vc-next-action): Remove code signalling a
user-error when the buffer is narrowed.

(cherry picked from commit 7aa106b8bf382f18342975e388720399554e2968)
lisp/vc/diff-mode.el
lisp/vc/vc.el