Function: gud-lldb-completions

gud-lldb-completions is a byte-compiled function defined in gud.el.gz.

Signature

(gud-lldb-completions CONTEXT COMMAND)

Documentation

Completion table for LLDB commands.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
(defun gud-lldb-completions (context command)
  "Completion table for LLDB commands."
  (let ((completions (gud-lldb-fetch-completions context command)))
    ;; If this is a cmpletion for w whole word, return a completion
    ;; list that contains that word only, with a space appended.
    (if (string-suffix-p " " (car completions))
        (list (concat (cadr completions) " "))
      (cdr completions))))