Skip to Content.
Sympa Menu

emacspeak - [Emacspeak] Patch: fix for the default speech rate issue

Subject: Emacspeak discussion list

List archive

[Emacspeak] Patch: fix for the default speech rate issue


Chronological Thread 
  • From: "T.V Raman" <raman AT google.com>
  • To: parham90 AT gmail.com
  • Cc: emacspeak AT emacspeak.net
  • Subject: [Emacspeak] Patch: fix for the default speech rate issue
  • Date: Fri, 12 Jan 2024 08:38:21 -0800


This is correct, good catch.


"Parham Doustdar" (via emacspeak Mailing List) writes:
> 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 discussion list -- emacspeak AT emacspeak.net
> To unsubscribe send email to:
> emacspeak-request AT emacspeak.net with a subject of: unsubscribe

--



Archive powered by MHonArc 2.6.19+.

Top of Page