Function: hydef

hydef is an autoloaded macro defined in hywiki.el.

Signature

(hydef &rest TERM)

Documentation

Display TERM's definition, which may be given as multiple strings or symbols.

All of the following represent the same TERM: ActionKey, "ActionKey", Action Key, action key, and "action key", i.e. (hydef action key).

Use this as a Hyperbole Action Button to hyperlink to an individual HyWiki definition from ${hywiki-directory}/Glossary.org), i.e. <hydef action key>

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hywiki.el
;;;###autoload
(defmacro hydef (&rest term)
  "Display TERM's definition, which may be given as multiple strings or symbols.
All of the following represent the same TERM: ActionKey, \"ActionKey\",
Action Key, action key, and \"action key\", i.e. (hydef action key).

Use this as a Hyperbole Action Button to hyperlink to an individual HyWiki
definition from ${hywiki-directory}/Glossary.org), i.e. <hydef action key>"
  `(let ((term-str (mapconcat (lambda (word)
                                (cond ((symbolp word) (symbol-name word))
                                      ((stringp word) word)
                                      (t (format "%s" word))))
                              ',term " ")))
     (when (or (null term-str) (member term-str '("" "t" "nil")))
       (error "(hydef): No term given; must give a term to lookup the definition"))
     (hywiki-get-definition term-str t)))