branch: externals/dape
commit da2f936e2139be662d024709a93cd88663972aab
Author: Daniel Pettersson <dan...@dpettersson.net>
Commit: Daniel Pettersson <dan...@dpettersson.net>

    Fix dape-evaluate-expression default-value inconsistency
    
    Other commands use default-value instead of initial-input
---
 dape.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dape.el b/dape.el
index 5f74167662..b7498590c8 100644
--- a/dape.el
+++ b/dape.el
@@ -2644,7 +2644,7 @@ CONN is inferred by either last stopped or last created 
connection."
     (or (dape--live-connection 'stopped t) (dape--live-connection 'last))
     (if (region-active-p)
         (buffer-substring (region-beginning) (region-end))
-      (read-string "Evaluate: " (thing-at-point 'symbol)))))
+      (read-string "Evaluate: " nil nil (thing-at-point 'symbol)))))
   (dape--with-request-bind
       ((&whole body &key variablesReference result &allow-other-keys) error)
       (dape--evaluate-expression conn (plist-get (dape--current-stack-frame 
conn) :id)

Reply via email to