Function: hywiki-yank

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

Signature

(hywiki-yank REFERENCE &optional REGEXP-FLAG)

Documentation

Insert at point the first HyRolo entry with a headline containing NAME.

If the consult package is installed, interactively select and complete the entry to be inserted.

With optional prefix arg, REGEXP-FLAG, treat NAME as a regular expression instead of a string.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hywiki.el
;;;###autoload
(defun hywiki-yank (reference &optional regexp-flag)
  "Insert at point the first HyRolo entry with a headline containing NAME.
If the `consult' package is installed, interactively select and complete
the entry to be inserted.

With optional prefix arg, REGEXP-FLAG, treat NAME as a regular expression
instead of a string."
  (interactive (list (hywiki-read-headline-regexp "Yank")
		     current-prefix-arg))
  (push-mark)
  (insert (hywiki-get-entry reference nil nil regexp-flag))
  ;; Let user reformat the region just yanked.
  (funcall hywiki-yank-reformat-function (mark) (point))
  (exchange-point-and-mark))