diff options
author | Vincent Ambo <vincent@spotify.com> | 2013-07-15T11·42+0200 |
---|---|---|
committer | Vincent Ambo <vincent@spotify.com> | 2013-07-15T11·42+0200 |
commit | eadc09e76ffe80e3bf8c3e873df1b8367e88f7de (patch) | |
tree | 0467a73e40cbbf210c70506b4bca254ad382d3bc | |
parent | 9342b6e56f5a5481203a99d95ef442ae50f14f83 (diff) |
emacs: Fixed voices
-rw-r--r-- | emacs.d/init-functions.el | 5 |
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 |