Function: hywiki-find-page

hywiki-find-page is an autoloaded, interactive and byte-compiled function defined in hywiki.el.

Signature

(hywiki-find-page &optional WIKIWORD)

Documentation

Display optional HyWiki WIKIWORD page or if nil, use current buffer.

If called interactively, use the WIKIWORD at point or if none, prompt for an existing or new one.

Return the absolute path to the file of the page if successfully found or nil otherwise.

By default, create any non-existent page. When not in batch mode, if this is the first HyWiki page in hywiki-directory, prompt to create if non-existent. After successfully finding a page and reading it into a buffer, run hywiki-display-page-hook.

After successfully finding a page, run hywiki-find-page-hook.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
;;;###autoload
(defun hywiki-find-page (&optional wikiword)
  "Display optional HyWiki WIKIWORD page or if nil, use current buffer.
If called interactively, use the WIKIWORD at point or if none, prompt for
an existing or new one.

Return the absolute path to the file of the page if successfully found
or nil otherwise.

By default, create any non-existent page.  When not in batch
mode, if this is the first HyWiki page in `hywiki-directory',
prompt to create if non-existent.  After successfully finding a
page and reading it into a buffer, run
`hywiki-display-page-hook'.

After successfully finding a page, run `hywiki-find-page-hook'."
  (interactive (list (hywiki-page-read-new "Add/Edit HyWikiWord Page: ")))
  (let ((page-file (hywiki-display-page wikiword)))
    (run-hooks 'hywiki-find-page-hook)
    page-file))