Subject: Emacspeak discussion list
List archive
- From: Parham Doustdar <parham90 AT gmail.com>
- To: Emacspeaks <emacspeak AT emacspeak.net>
- Subject: [Emacspeak] Patch: fix for the default speech rate issue
- Date: Fri, 12 Jan 2024 15:10:38 +0100
Hi Raman,
I was having a look at your latest commits and noticed that you mention
explicitly that dtk-speech-rate is an internal variable, which meant my use
of `defvar-local’ in my config isn’t the right way to do this.
So I looked into it and figured out why the value of
`Mac-default-speech-rate’ isn’t being applied to dk-speech-rate. Here is the
fix:
1 file changed, 1 insertion(+), 1 deletion(-)
lisp/mac-voices.el | 2 +-
modified lisp/mac-voices.el
@@ -67,7 +67,7 @@
:type 'integer
:set #'(lambda(sym val)
(set-default sym val)
- (when (string= "mac"dtk-program)
+ (when (string-match "mac\\'" dtk-program)
(setq-default dtk-speech-rate val))))
;;; voice table
- [Emacspeak] Patch: fix for the default speech rate issue, Parham Doustdar, 01/12/2024
- [Emacspeak] Patch: fix for the default speech rate issue, T.V Raman, 01/12/2024
Archive powered by MHonArc 2.6.19+.