Subject: bug#72768: [PATCH] Keep local keymap out of vc-git-stash-get-at-point

From: James Thomas <[email-masked]>
Date: Tue, 27 Aug 2024 03:37:54 +0530

James Thomas wrote:

> emacs -Q
> (define-key key-translation-map  [?\C-j] (kbd "RET"))
> M-x vc-dir (select a git repo)
> (with point on a 'stash' entry) C-x v ! = C-j (fails)

Of course, if a 'stash' doesn't exist, it may be created, so that the
steps are:

emacs -Q
C-x C-f (open a git-tracked file, make changes), C-x C-s (and save it)
C-x p v (select the above repo)
z c (create stash)
M-: (define-key key-translation-map  [?\C-j] (kbd "RET"))
(with point on the new 'stash' entry) C-x v ! = C-j (fails)

--