Function: hui-select-get-thing
hui-select-get-thing is an autoloaded and byte-compiled function
defined in hui-select.el.
Signature
(hui-select-get-thing)
Documentation
Return the thing at point that hui-select-thing would select.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-select.el
;;;###autoload
(defun hui-select-get-thing ()
"Return the thing at point that `hui-select-thing' would select."
(let ((region-bounds (hui-select-get-region-boundaries)))
(if (not region-bounds)
(when (eq hui-select-previous 'punctuation)
(setq region-bounds
(or (hui-select-brace-def-or-declaration (point))
(hui-select-indent-def (point))
(progn (setq hui-select-previous 'word)
(save-excursion
(goto-char (point))
(forward-word 1)
(let ((end (point)))
(forward-word -1)
(cons (point) end)))))))
(when region-bounds
(buffer-substring-no-properties (car region-bounds) (cdr region-bounds))))))