I have this function, and want beacon help me highlight the sentence temporarily:
(require 'siri-shortcuts)
(defun my/siri-trans()
(interactive)
(siri-shortcuts-browse-url 'run-shortcut "EmacsTranslate" "text" (thing-at-point 'sentence t)))
(global-set-key (kbd "C-c t") 'my/siri-trans)
Thank you very much.
PS: for people may interest how I use Siri Shortcuts with Emacs, see this issue:
danirukun/siri-shortcuts.el#4 (comment)
I have this function, and want beacon help me highlight the sentence temporarily:
Thank you very much.
PS: for people may interest how I use Siri Shortcuts with Emacs, see this issue:
danirukun/siri-shortcuts.el#4 (comment)