]> git.eshelyaron.com Git - emacs.git/commitdiff
Keep local keymap out of vc-git-stash-get-at-point
authorJames Thomas <jimjoe@gmx.net>
Fri, 23 Aug 2024 05:13:39 +0000 (10:43 +0530)
committerEshel Yaron <me@eshelyaron.com>
Sun, 8 Sep 2024 11:24:29 +0000 (13:24 +0200)
* lisp/vc/vc-git.el (vc-git-stash-get-at-point):
Return the substring without text properties (bug#72768).

(cherry picked from commit 2aef1acc4d2e34fc63b4d9cfd2b0a6a9c08602fb)

lisp/vc/vc-git.el

index 7638821154511257d6f37b0abbdf4d86622f7c74..2a7c8ae5fc4869e58f7948f792e40d486ffb4616 100644 (file)
@@ -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.