Ishe Chinyoka via Emacspeak <emacspeak(a)emacspeak.org> writes:
> So which setting can I use to disable voice-lock whether globally or
> locally?
I disabled it using mode hooks. Here's the relevant chunk of my emacs
config. This also disables the caps handling, which isn't usually what
I want with espeak.
---begin elisp---
(global-voice-lock-mode -1)
(defun cmb-disable-emacspeak-stuff ()
(unless noninteractive
(and dtk-caps (dtk-toggle-caps))
(voice-lock-mode -1)
(global-voice-lock-mode -1)))
(add-hook 'after-change-major-mode-hook 'cmb-disable-emacspeak-stuff 100)
(add-hook 'prog-mode-hook 'cmb-disable-emacspeak-stuff 100)
---end elisp---
Hope it helps,
--
Chris Brannon
Founder: Blind and Low Vision Unix Users Group (https://blvuug.org/).
Personal website: (https://the-brannons.com/)
Chat: IRC: teiresias on libera.chat and OFTC, XMPP: chris(a)chat.number89.net
|May 1995 - Last Year|Current Year|
If you have questions about this archive or had problems using it, please contact us.