From bc27e8119f2c9e9a47a6ad2874c83308cd6c2198 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 15 May 2022 20:29:21 +0100 Subject: embark: randomsig action --- completion.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/completion.org b/completion.org index 9616da6..c653422 100644 --- a/completion.org +++ b/completion.org @@ -389,9 +389,19 @@ (require 'embark-consult))) #+end_src +*** randomsig + #+begin_src emacs-lisp + (defun jao-random-sig-read (_ignored) + "Import region as signature and edit it." + (randomsig-message-read-sig t)) + + (define-key embark-region-map "m" #'jao-random-sig-read) + (define-key embark-region-map "M" #'apply-macro-to-region-lines) + #+end_src *** dict/say #+begin_src emacs-lisp (defun jao-say (&optional word) + "Isn't it nice to have a computer that can talk to you?" (interactive "sWhat? ") (shell-command-to-string (format "say %s" word)) "") -- cgit v1.2.3