Function: hywiki-add-find

hywiki-add-find is an interactive and byte-compiled function defined in hywiki.el.

Signature

(hywiki-add-find WIKIWORD)

Documentation

Make WIKIWORD grep across hywiki-directory for matches to itself.

Return the command to invoke.

If WIKIWORD is invalid, trigger an error if called interactively or return nil if not.

After successfully adding the grep, run hywiki-add-referent-hook.

Use hywiki-get-referent to determine whether WIKIWORD exists prior to calling this function.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hywiki.el
(defun hywiki-add-find (wikiword)
  "Make WIKIWORD grep across `hywiki-directory' for matches to itself.
Return the command to invoke.

If WIKIWORD is invalid, trigger an error if called interactively
or return nil if not.

After successfully adding the grep, run `hywiki-add-referent-hook'.

Use `hywiki-get-referent' to determine whether WIKIWORD exists prior to
calling this function."
  (interactive (list (or (hywiki-word-at)
			 (hywiki-word-read-new "Add/Edit HyWikiWord: "))))
  (hywiki-add-referent wikiword (cons 'find #'hywiki-word-grep)))