emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/dape f523773d6f 3/3: Get a substring from the minibuffe


From: ELPA Syncer
Subject: [elpa] externals/dape f523773d6f 3/3: Get a substring from the minibuffer prompt without text properties. (#175)
Date: Sat, 30 Nov 2024 12:57:47 -0500 (EST)

branch: externals/dape
commit f523773d6ffd792b18551be29eda6fbb84b0ef0b
Author: Vladimir Ivanov <ivvl82@gmail.com>
Commit: GitHub <noreply@github.com>

    Get a substring from the minibuffer prompt without text properties. (#175)
    
    Copyright-paperwork-exempt: yes
---
 dape.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dape.el b/dape.el
index e17cba66b2..0b10fc26ba 100644
--- a/dape.el
+++ b/dape.el
@@ -4876,7 +4876,8 @@ Update `dape--inlay-hint-overlays' from SCOPES."
   "Display current configuration in minibuffer in overlay."
   (pcase-let*
       ((`(,key ,config ,error-message ,hint-rows) dape--minibuffer-cache)
-       (str (string-trim (buffer-substring (minibuffer-prompt-end) 
(point-max))))
+       (str (string-trim
+             (buffer-substring-no-properties (minibuffer-prompt-end) 
(point-max))))
        (`(,hint-key ,hint-config) (ignore-errors (dape--config-from-string 
str)))
        (default-directory
         (or (with-current-buffer dape--minibuffer-last-buffer



reply via email to

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