Function: smart-helm-line-has-action
smart-helm-line-has-action is a byte-compiled function defined in
hui-mouse.el.
Signature
(smart-helm-line-has-action)
Documentation
Mark and return the actions for the helm selection item at the point.
Point is where Action Key was depress. Return nil if line lacks any action. Assume Hyperbole has already checked that helm is active.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mouse.el
(defun smart-helm-line-has-action ()
"Mark and return the actions for the helm selection item at the point.
Point is where Action Key was depress. Return nil if line lacks
any action. Assume Hyperbole has already checked that helm is
active."
(let ((helm-buffer (if (equal helm-action-buffer (buffer-name)) helm-buffer (buffer-name))))
(save-excursion
(with-helm-buffer
(setq cursor-type hkey-debug) ; For testing where mouse presses set point.
(and (eventp action-key-depress-args)
(goto-char (posn-point (event-start action-key-depress-args))))
(when (not (or (smart-eobp)
(smart-helm-at-header)
(helm-pos-candidate-separator-p)))
(let ((helm-selection-point (point)))
(helm-mark-current-line)
(smart-helm-get-current-action)))))))