Function: hypb:mark-object

hypb:mark-object is a byte-compiled function defined in hypb.el.

Signature

(hypb:mark-object OBJECT)

Documentation

Mark OBJECT as a Hyperbole object.

If possible to prevent generic functions from changing it. OBJECT must be a non-empty string or a symbol or this has no effect.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defun hypb:mark-object (object)
  "Mark OBJECT as a Hyperbole object.
If possible to prevent generic functions from changing it.
OBJECT must be a non-empty string or a symbol or this has no effect."
  (cond ((and (stringp object) (not (string-empty-p object)))
	 (put-text-property 0 1 'hyperbole t object))
	((symbolp object)
	 (put object 'hyperbole t))))