Function: hywiki-create-page
hywiki-create-page is an interactive and byte-compiled function
defined in hywiki.el.
Signature
(hywiki-create-page WIKIWORD &optional MESSAGE-FLAG)
Documentation
Prompt for, add to HyWiki lookups and return a WIKIWORD page.
With optional prefix arg MESSAGE-FLAG non-nil, display a minibuffer message with the page.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-create-page (wikiword &optional message-flag)
"Prompt for, add to HyWiki lookups and return a WIKIWORD page.
With optional prefix arg MESSAGE-FLAG non-nil, display a minibuffer message
with the page."
(interactive (list nil current-prefix-arg))
(unless (stringp wikiword)
(setq wikiword (hywiki-word-read-new "Create/Edit HyWikiWord: ")))
(setq hkey-value wikiword)
(let ((page-file (cdr (hywiki-add-page wikiword t))))
(if (or message-flag (called-interactively-p 'interactive))
(if page-file
(message "HyWikiWord '%s' page: \"%s\"" wikiword page-file)
(user-error "(hywiki-create-page): Invalid HyWikiWord: '%s'; must be capitalized, all alpha" wikiword)))
page-file))