Function: majutsu-gerrit--host-with-port

majutsu-gerrit--host-with-port is a natively compiled function defined in majutsu-gerrit.el.

Signature

(majutsu-gerrit--host-with-port HOST PORT SCHEME)

Documentation

Return HOST optionally suffixed with PORT for URL SCHEME.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-gerrit.el
(defun majutsu-gerrit--host-with-port (host port scheme)
  "Return HOST optionally suffixed with PORT for URL SCHEME."
  (if (and port (not (= port (or (majutsu-gerrit--url-default-port scheme) -1))))
      (format "%s:%s" host port)
    host))