emacs-diffs
[Top][All Lists]
Advanced

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

master 2aef1acc4d2 1/2: Keep local keymap out of vc-git-stash-get-at-poi


From: Dmitry Gutov
Subject: master 2aef1acc4d2 1/2: Keep local keymap out of vc-git-stash-get-at-point
Date: Sat, 7 Sep 2024 22:15:27 -0400 (EDT)

branch: master
commit 2aef1acc4d2e34fc63b4d9cfd2b0a6a9c08602fb
Author: James Thomas <jimjoe@gmx.net>
Commit: Dmitry Gutov <dmitry@gutov.dev>

    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).
---
 lisp/vc/vc-git.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.



reply via email to

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