Function: majutsu-transient-revset-completion-args

majutsu-transient-revset-completion-args is a natively compiled function defined in majutsu-transient.el.

Signature

(majutsu-transient-revset-completion-args)

Documentation

Return jj native completion context for the active revset reader.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-transient.el
(defun majutsu-transient-revset-completion-args ()
  "Return jj native completion context for the active revset reader."
  (when-let* ((prefix (transient-prefix-object))
              ((cl-typep prefix 'majutsu-jj-transient-prefix))
              (command (majutsu-transient--jj-command-args
                        (oref prefix jj-command)))
              (suffix (transient-suffix-object))
              (argument (oref suffix argument)))
    (append command (list (string-remove-suffix "=" argument)))))