From: James Thomas Date: Fri, 23 Aug 2024 05:13:39 +0000 (+0530) Subject: Keep local keymap out of vc-git-stash-get-at-point X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8f661793b1f2a98f69388746a5bf09485c38f600;p=emacs.git Keep local keymap out of vc-git-stash-get-at-point * lisp/vc/vc-git.el (vc-git-stash-get-at-point): Return the substring without text properties (bug#72768). (cherry picked from commit 2aef1acc4d2e34fc63b4d9cfd2b0a6a9c08602fb) --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 76388211545..2a7c8ae5fc4 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -2142,7 +2142,7 @@ This command shares argument histories with \\[rgrep] and \\[grep]." (goto-char point) (beginning-of-line) (if (looking-at "^ +\\({[0-9]+}\\):") - (match-string 1) + (match-string-no-properties 1) (error "Cannot find stash at point")))) ;; vc-git-stash-delete-at-point must be called from a vc-dir buffer.