Function: hywiki-word-create-and-display
hywiki-word-create-and-display is an interactive and byte-compiled
function defined in hywiki.el.
Signature
(hywiki-word-create-and-display WIKIWORD &optional PROMPT-FLAG)
Documentation
Display the HyWiki referent for WIKIWORD and return it.
If there is no existing WIKIWORD referent, add one.
With either hywiki-referent-prompt-flag set or optional prefix ARG,
prompt for and choose a typed referent, otherwise, create and/or display
a HyWiki page. See hywiki-referent-menu for valid referent types.
Use hywiki-get-referent to determine whether a HyWikiWord referent
exists.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-word-create-and-display (wikiword &optional prompt-flag)
"Display the HyWiki referent for WIKIWORD and return it.
If there is no existing WIKIWORD referent, add one.
With either `hywiki-referent-prompt-flag' set or optional prefix ARG,
prompt for and choose a typed referent, otherwise, create and/or display
a HyWiki page. See `hywiki-referent-menu' for valid referent types.
Use `hywiki-get-referent' to determine whether a HyWikiWord referent
exists."
(interactive (list (or (hywiki-word-at)
(hywiki-word-read-new
(format "Add/Edit and display HyWiki %s: "
(if (or (and hywiki-referent-prompt-flag
(null current-prefix-arg))
current-prefix-arg)
"referent"
"page"))))
current-prefix-arg))
(hywiki-create-referent-and-display
wikiword (or (and hywiki-referent-prompt-flag
(null prompt-flag))
prompt-flag)))