Function: hui-select-at-p
hui-select-at-p is an autoloaded, interactive and byte-compiled
function defined in hui-select.el.
Signature
(hui-select-at-p &optional POS)
Documentation
Non-nil means character matches a syntax entry in hui-select-syntax-alist.
The character is after optional POS or point. The non-nil value returned is the function to call to select that syntactic unit.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-select.el
;;;###autoload
(defun hui-select-at-p (&optional pos)
"Non-nil means character matches a syntax entry in `hui-select-syntax-alist'.
The character is after optional POS or point. The non-nil value
returned is the function to call to select that syntactic unit."
(interactive "d")
(unless (smart-eobp)
(or (numberp pos) (setq pos (point)))
(setq hui-select-previous 'char)
(let* ((syntax (char-syntax (or (char-after pos) (char-before pos) 0)))
(pair (assq syntax hui-select-syntax-alist)))
(and pair (or hui-select-whitespace (not (eq (cdr pair) 'thing-whitespace)))
;; Ignore matches that are preceded by '\' as a quote, e.g. ?\'
(or (not (char-after pos))
(= pos (point-min))
(and (char-before pos) (/= ?\\ (or (char-before pos) 0))))
(cdr pair)))))