aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Thomas2024-08-23 10:43:39 +0530
committerDmitry Gutov2024-09-08 05:11:02 +0300
commit2aef1acc4d2e34fc63b4d9cfd2b0a6a9c08602fb (patch)
treeb29e8220cf9e08af4a1e050d0f3162a15546edbd
parent6dcd3d24045113fb0afec0d7f43e322c9baa06ab (diff)
downloademacs-2aef1acc4d2e34fc63b4d9cfd2b0a6a9c08602fb.tar.gz
emacs-2aef1acc4d2e34fc63b4d9cfd2b0a6a9c08602fb.zip
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).
-rw-r--r--lisp/vc/vc-git.el2
1 files changed, 1 insertions, 1 deletions
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]."
2142 (goto-char point) 2142 (goto-char point)
2143 (beginning-of-line) 2143 (beginning-of-line)
2144 (if (looking-at "^ +\\({[0-9]+}\\):") 2144 (if (looking-at "^ +\\({[0-9]+}\\):")
2145 (match-string 1) 2145 (match-string-no-properties 1)
2146 (error "Cannot find stash at point")))) 2146 (error "Cannot find stash at point"))))
2147 2147
2148;; vc-git-stash-delete-at-point must be called from a vc-dir buffer. 2148;; vc-git-stash-delete-at-point must be called from a vc-dir buffer.