This patch checks to see whether dtk-notify-process is set before reading the percentage.
diff --git a/lisp/emacspeak-advice.el b/lisp/emacspeak-advice.el index 03747d2ed..f91fb96d0 100644 --- a/lisp/emacspeak-advice.el +++ b/lisp/emacspeak-advice.el@@ -431,10 +431,11 @@ When on a close delimiter, speak matching delimiter after a small delay. "
(when (ems-interactive-p)
(emacspeak-icon 'scroll)
(dtk-speak (emacspeak-get-window-contents))
- (dtk-notify-speak
- (propertize
- (format "%s " (emacspeak-get-current-percentage-into-buffer))
- 'personality voice-smoothen))))))
+ (when dtk-notify-process
+ (dtk-notify-speak
+ (propertize
+ (format "%s " (emacspeak-get-current-percentage-into-buffer))
+ 'personality voice-smoothen)))))))
;;; Advise modify case commands to speak
|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.