[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/greader d7d1510 12/76: function greader-espeak-set-lang
From: |
Stefan Monnier |
Subject: |
[elpa] externals/greader d7d1510 12/76: function greader-espeak-set-language added. |
Date: |
Fri, 8 Feb 2019 15:26:48 -0500 (EST) |
branch: externals/greader
commit d7d151039eeef4b8f10ec057b6accc3d5ea6bfae
Author: Michelangelo Rodriguez <address@hidden>
Commit: Michelangelo Rodriguez <address@hidden>
function greader-espeak-set-language added.
This function returns the espeak parameter needed to set properly the
language of speech.
---
greader-espeak.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/greader-espeak.el b/greader-espeak.el
index f7e24ab..e9402fd 100644
--- a/greader-espeak.el
+++ b/greader-espeak.el
@@ -27,3 +27,10 @@ espeak --list-languages
(if (not rate)
(concat "-s" (number-to-string greader-espeak-rate))
(concat "-s" (number-to-string rate))))
+(defun greader-espeak-set-language
+ (&optional lang)
+ "returns the appropriate string to pass to espeak in order to set the
language appropriately"
+ (if (not lang)
+
+ (concat "-V " greader-espeak-language)
+ (concat "-V " lang)))
- [elpa] externals/greader 0a085d6 08/76: work on group greader-espeak, (continued)
- [elpa] externals/greader 0a085d6 08/76: work on group greader-espeak, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 733f1d4 09/76: defcustom greader-espeak-language added., Stefan Monnier, 2019/02/08
- [elpa] externals/greader 088647c 07/76: group greader-espeak added, Stefan Monnier, 2019/02/08
- [elpa] externals/greader b96cb4a 06/76: Copyright added., Stefan Monnier, 2019/02/08
- [elpa] externals/greader 2d6f70a 11/76: greader-espeak.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader a7adeea 01/76: starting to modify greader:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader cf96374 13/76: greader-espeak-executable custom variable added, along of greader-espeak--find-executable function that tries to determine if espeak executable is installed., Stefan Monnier, 2019/02/08
- [elpa] externals/greader b920c94 17/76: greader-espeak.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 4f0dd2a 15/76: greader-espeak.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 804d9a7 10/76: lexical binding enabled, Stefan Monnier, 2019/02/08
- [elpa] externals/greader d7d1510 12/76: function greader-espeak-set-language added.,
Stefan Monnier <=
- [elpa] externals/greader 076f8b7 19/76: greader-speechd.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 54f52c8 20/76: greader-espeak.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 3669ca8 24/76: function greader-speechd-set-language added., Stefan Monnier, 2019/02/08
- [elpa] externals/greader 9fbe0e9 22/76: greader-speechd.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 55cc804 27/76: greader-speechd.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 5456dc6 26/76: greader-speechd.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 489d211 28/76: greader-speechd.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 0c0c400 16/76: greader-espeak.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader 0fcb3a6 23/76: greader-speechd.el:, Stefan Monnier, 2019/02/08
- [elpa] externals/greader b984183 14/76: greader-espeak.el:, Stefan Monnier, 2019/02/08