contrib/gadict.el
changeset 746 73abbe6d4bd3
parent 745 4679b9e75798
child 802 a812ec996022
--- a/contrib/gadict.el	Thu Jan 26 23:08:44 2017 +0200
+++ b/contrib/gadict.el	Thu Jan 26 23:13:41 2017 +0200
@@ -87,12 +87,17 @@
 
 (defvar gadict-espeak-headline-timer nil)
 (defun gadict-espeak-headline-enable ()
+  "Enable headline with espeak IPA pronunciation."
+  (interactive)
   (unless gadict-espeak-headline-timer
     (setq gadict-espeak-headline-timer (run-with-idle-timer 1 t #'gadict-espeak-headline-display))))
 (defun gadict-espeak-headline-disable ()
+  "Enable headline with espeak IPA pronunciation."
+  (interactive)
   (when gadict-espeak-headline-timer
     (cancel-timer gadict-espeak-headline-timer))
-  (setq gadict-espeak-headline-timer nil))
+  (setq gadict-espeak-headline-timer nil)
+  (setq header-line-format nil))