Skip to content

[Newbie question]How to run beacon-blink on thing-at-point 'sentence #88

@suliveevil

Description

@suliveevil

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions