summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--completion.org10
1 files changed, 10 insertions, 0 deletions
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))
"")