Function: smart-org-agenda-item-action

smart-org-agenda-item-action is a byte-compiled function defined in hui-mouse.el.

Signature

(smart-org-agenda-item-action)

Documentation

Action/Assist Key action when point is on an Org Agenda item.

On Action Key press, invoke Agenda's <return> key binding, typically org-agenda-switch-to. On Assist Key press, display smart-org help.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mouse.el
;;; ************************************************************************
;;; smart-org functions
;;; ************************************************************************

(defun smart-org-agenda-item-action ()
  "Action/Assist Key action when point is on an Org Agenda item.
On Action Key press, invoke Agenda's <return> key binding, typically
`org-agenda-switch-to'.  On Assist Key press, display `smart-org' help."
  (hsys-org-set-ibut-label (cons (line-beginning-position)
				 (line-end-position)))
  (if assist-flag
      (hact (lambda () (describe-function 'smart-org)))
    ;; Execute Agenda's {RET} binding using Hyperbole display setting
    (cl-letf (((symbol-function 'pop-to-buffer-same-window)
	       #'hpath:display-buffer))
      (hact (lambda () (call-interactively (key-binding (kbd "RET"))))))))