Function: org-format-prompt

org-format-prompt is a for format-prompt, defined in minibuffer.el.gz.

Signature

(org-format-prompt PROMPT DEFAULT &rest FORMAT-ARGS)

Documentation

Format PROMPT with DEFAULT according to minibuffer-default-prompt-format.

If FORMAT-ARGS is nil, PROMPT is used as a plain string. If FORMAT-ARGS is non-nil, PROMPT is used as a format control string, and FORMAT-ARGS are the arguments to be substituted into it. See format for details.

If DEFAULT is a list, the first element is used as the default. If not, the element is used as is.

If DEFAULT is nil or an empty string, no "default value" string is included in the return value.

Aliases

cperl--format-prompt org-format-prompt