branch: externals/dape
commit baa6cda4a9e631bbdd32a355b155b69997c19910
Author: Damien Cassou <dam...@cassou.me>
Commit: GitHub <nore...@github.com>

    Docstring fixup of `dape-cwd-fn` (#118)
    
    A previous commit changed the meaning of this variable without
    changing the docstring:
    
    7a1a44b6ff0b7fd490e609f19a8717c775cdcf31
    Rework dape-cwd-fn
---
 dape.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/dape.el b/dape.el
index 3992627dd7..65aa983c11 100644
--- a/dape.el
+++ b/dape.el
@@ -615,11 +615,9 @@ See `dape-breakpoint-load' and `dape-breakpoint-save'."
 
 (defcustom dape-cwd-fn #'dape--default-cwd
   "Function to get current working directory.
-The function should take one optional argument and return a string
-representing the absolute file path of the current working directory.
-If the optional argument is non nil return path with tramp prefix
-otherwise the path should be without prefix.
-See `dape--default-cwd'."
+The function should return a string representing the absolute
+file path of the current working directory, usually the current
+project's root. See `dape--default-cwd'."
   :type 'function)
 
 (defcustom dape-compile-compile-hooks nil

Reply via email to