Function: majutsu-jj-items

majutsu-jj-items is a natively compiled function defined in majutsu-jj.el.

Signature

(majutsu-jj-items &rest ARGS)

Documentation

Run jj with ARGS and return output split by null bytes.

Color output is disabled so that return values are plain text. This is useful for commands that use -z/--null flag. Empty items are omitted from the result.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-jj.el
(defun majutsu-jj-items (&rest args)
  "Run jj with ARGS and return output split by null bytes.

Color output is disabled so that return values are plain text.
This is useful for commands that use -z/--null flag.
Empty items are omitted from the result."
  (majutsu--with-no-color
    (with-temp-buffer
      (apply #'majutsu-jj-insert args)
      (split-string (buffer-string) "\0" t))))