commit c720993976d8cdbd9c2384aa7d63c0b5c4d5e86f
parent 6054926d540e2864eec653efffeac22119e39ad4
Author: Yuval Langer <yuval.langer@gmail.com>
Date: Thu, 6 Jul 2023 18:59:50 +0300
Rename function into a more general name.
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/config/emacs/init.el b/config/emacs/init.el
@@ -24,11 +24,13 @@
(message (number-to-string x))
(moo (- x 1)))))
-(defun kakafarm/espeak ()
+(defun kakafarm/tts ()
(interactive)
(let ((start (min (mark) (point)))
(end (max (mark) (point))))
- (shell-command-on-region start end "espeak")))
+ (shell-command-on-region start
+ end
+ "espeak")))
(progn
(defun kakafarm/set-key-bindings ()