[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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@xxxxxxxxxxxxx
 > To unsubscribe send email to:
 > emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe

-- 


|Full archive May 1995 - present by Year|Search the archive|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page