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

texinfo formatting while using emacspeak



Hi,

While using Emacspeak, we can't format texinfo file to info using
texinfo-format-buffer.
Sometimes it is the only way to format info files containing foreign
characters other than English.
Raman, don't you use texinfo-format-buffer with emacspeak?
This kind of advice seems to fix the problem.
It would be cleaner to remove only (emacspeak-texinfo-mode-hook).
Is this appliable?

(defadvice texinfo-format-buffer (around emacspeak pre act)
  "Disable voicification."
  (let (tmp-texinfo-mode-hook texinfo-mode-hook)
    (setq texinfo-mode-hook nil)
    ad-do-it
    (setq texinfo-mode-hook tmp-texinfo-mode-hook)
))

-- 
                    Koichi Inoue, ARGV
                    E-Mail: inoue@argv.org
                    ICQ UIN: 74900690

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe | Search