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

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

[elpa] externals/dape 0c931cbf65 1/6: Rename dash form custom var


From: ELPA Syncer
Subject: [elpa] externals/dape 0c931cbf65 1/6: Rename dash form custom var
Date: Sun, 24 Nov 2024 09:57:57 -0500 (EST)

branch: externals/dape
commit 0c931cbf65ea3d67e6d21f84c4056108e3385abc
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>

    Rename dash form custom var
---
 dape.el | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dape.el b/dape.el
index 3ba6499204..0e4c973706 100644
--- a/dape.el
+++ b/dape.el
@@ -474,7 +474,7 @@ Symbol keys (Used by dape):
 
 Note: The char - carries special meaning when reading options in
 `dape' and therefore should not be used be used as an key.
-See `dape-config-dash-form'.
+See `dape-history-use-dash-form'.
 
 Connection to Debug Adapter:
 - If command is specified and not port, dape communicates with the
@@ -515,10 +515,11 @@ Functions and symbols:
                         ((const :tag "Adapter type" :type) string)
                         ((const :tag "Request type launch/attach" :request) 
string)))))
 
-(defcustom dape-config-dash-form t
-  "If non nil store configurations in dash form in `dape-history'.
-With dash form - switches the reader modes from properties and
-values to sh like format ENV PROGRAM ARGS.
+(defcustom dape-history-use-dash-form t
+  "If non nil store configuration options in dash form.
+With dash form - switches the reader mode from properties and
+values to sh like format with ENV PROGRAM ARGS.
+Adapter configuration options are stored in `dape-history'.
 
 This is useful for adapters which follows the
 `:program', `:env' and `:args' convention.
@@ -5092,7 +5093,7 @@ Where ALIST-KEY exists in `dape-configs'."
   "Create string from KEY and POST-EVAL-CONFIG."
   (pcase-let* ((config-diff (dape--config-diff key post-eval-config))
                ((map :env :program :args) config-diff)
-               (zap-form-p (and dape-config-dash-form
+               (zap-form-p (and dape-history-use-dash-form
                                 (or (stringp program)
                                     (and (consp env) (keywordp (car env))
                                          (not args))))))



reply via email to

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