Function: helpful--variable-at-point-exactly

helpful--variable-at-point-exactly is a byte-compiled function defined in helpful.el.

Signature

(helpful--variable-at-point-exactly)

Documentation

Return the symbol at point, if it's a bound variable.

Source Code

;; Defined in ~/.emacs.d/elpa/helpful-20250408.334/helpful.el
(defun helpful--variable-at-point-exactly ()
  "Return the symbol at point, if it's a bound variable."
  (let ((var (variable-at-point)))
    ;; `variable-at-point' uses 0 rather than nil to signify no symbol
    ;; at point (presumably because 'nil is a symbol).
    (unless (symbolp var)
      (setq var nil))
    (when (helpful--variable-p var)
      var)))