Function: majutsu-gerrit--account-candidate

majutsu-gerrit--account-candidate is a natively compiled function defined in majutsu-gerrit.el.

Signature

(majutsu-gerrit--account-candidate ACCOUNT)

Documentation

Return the completion candidate string for ACCOUNT.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-gerrit.el
(defun majutsu-gerrit--account-candidate (account)
  "Return the completion candidate string for ACCOUNT."
  (or (majutsu-gerrit--account-get account 'email)
      (majutsu-gerrit--account-get account 'username)
      (when-let* ((id (majutsu-gerrit--account-get account '_account_id)))
        (format "%s" id))))