From 199e42be2aa0a8670abd6563286da8ccc298dc79 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 20 Oct 2023 15:50:33 +0300 Subject: [PATCH] ; Fix recent changes of LLDB support * lisp/progmodes/gud.el (gud-lldb-max-completions) (gud-lldb-fetch-completions): Fix doc string and :version tag. --- lisp/progmodes/gud.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 9922948fdc2..d48ff68cc5e 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -3907,7 +3907,8 @@ so they have been disabled.")) (defcustom gud-lldb-max-completions 20 "Maximum number of completions to request from LLDB." - :type 'integer) + :type 'integer + :version "30.1") (defvar gud-lldb-def-python-completion-function " @@ -3927,7 +3928,9 @@ def gud_complete(s, max): (defun gud-lldb-fetch-completions (context command) "Return the data to complete the LLDB command before point. This is what the Python function we installed at initialzation -time returns, as a Lisp list." +time returns, as a Lisp list. +Maximum number of completions requested from LLDB is controlled +by `gud-lldb-max-completions', which see." (let* ((process (get-buffer-process gud-comint-buffer)) (to-complete (concat context command)) (output-buffer (get-buffer-create "*lldb-completions*"))) -- 2.39.2