emacs-diffs
[Top][All Lists]
Advanced

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

master 199e42be2aa: ; Fix recent changes of LLDB support


From: Eli Zaretskii
Subject: master 199e42be2aa: ; Fix recent changes of LLDB support
Date: Fri, 20 Oct 2023 08:51:12 -0400 (EDT)

branch: master
commit 199e42be2aa0a8670abd6563286da8ccc298dc79
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; 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*")))



reply via email to

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