about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.d/init-functions.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs.d/init-functions.el b/emacs.d/init-functions.el
index 09ffe1777230..640a8f8c620c 100644
--- a/emacs.d/init-functions.el
+++ b/emacs.d/init-functions.el
@@ -74,8 +74,9 @@
     (insert postfix)))
 
 (defun speak (m &optional voice)
-  (shell-command (if 'voice (concat "say " m)
-		   (concat "say -v " voice " " m))))
+  (shell-command (if 'voice (concat "say -v " voice " \"" m "\"")
+		   (concat "say " m))))
+
 
 ;; Reconnect rcirc
 (eval-after-load 'rcirc