Function: hui-select-symbol
hui-select-symbol is a byte-compiled function defined in
hui-select.el.
Signature
(hui-select-symbol POS)
Documentation
Return (start . end) of a symbol at POS.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-select.el
(defun hui-select-symbol (pos)
"Return (start . end) of a symbol at POS."
(or (hui-select-markup-pair pos)
;; Test for indented def here since might be on an '*' representing
;; an outline entry, in which case we mark entries as indented blocks.
(hui-select-indent-def pos)
(save-excursion
(when (memq (char-syntax (if (smart-eobp) (preceding-char) (char-after pos)))
'(?w ?_))
(setq hui-select-previous 'symbol)
(condition-case ()
(let ((end (hui-select-scan-sexps pos 1)))
(hui-select-set-region
(min pos (hui-select-scan-sexps end -1)) end))
(error nil))))))