branch: externals/dape commit f39773e7dd793a5d1e5a67abcb8ab3d96929b4d1 Author: Daniel Pettersson <dan...@dpettersson.net> Commit: Daniel Pettersson <dan...@dpettersson.net>
Unify name of custom --- dape.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dape.el b/dape.el index a33fcc720e..d2fb819602 100644 --- a/dape.el +++ b/dape.el @@ -558,8 +558,8 @@ left-to-right display order of the properties." :type '(choice (const :tag "Truncate string at new line" line) (const :tag "No formatting" nil))) -(defcustom dape-info-breakpoint-source-line-width 15 - "Width of source line in info breakpoint buffer." +(defcustom dape-info-breakpoint-source-line-max 15 + "Max length of source line in info breakpoint buffer." :type '(choice (const :tag "Don't show source line" nil) integer)) @@ -3492,7 +3492,7 @@ displayed." (goto-char (overlay-start breakpoint)) (truncate-string-to-width (concat " " (string-trim (thing-at-point 'line))) - dape-info-breakpoint-source-line-width)))) + dape-info-breakpoint-source-line-max)))) ,(when with-hits-p (if-let ((hits (overlay-get breakpoint 'dape-hits))) (format "%s" hits)