Milan Zamazal <[EMAIL PROTECTED]> writes:
> I'm able to reproduce the bug now on my Debian GNU/Linux i386 system.
Which version of CVS emacs do you use?
The following function doesn't work with the latest CVS emacs.
(defun speechd-speak-read-mode-line ()
"Read mode line.
This function works only in Emacs 21.4 or higher."
(interactive)
(when (fboundp 'format-mode-line)
(speechd-speak--interactive
(speechd-speak--text (format-mode-line)))))
You need to explicitly give the mode-line-format as arg to
format-mode-line, i.e.
(speechd-speak--text (format-mode-line mode-line-format)))))
To eliminate text properties in the return value, use this call:
(speechd-speak--text (format-mode-line mode-line-format 0)))))
It's been like that since this change:
2005-01-06 Nick Roberts <[EMAIL PROTECTED]>
* xdisp.c (Fformat_mode_line): First arg now required.
--
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug