diff lisp/mh-e/mh-tool-bar.el @ 68597:04d228a1b5c8

* mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp errors if describe-bindings is called before tool-bar-mode is used.
author Mark D. Baushke <mdb@gnu.org>
date Fri, 03 Feb 2006 19:32:06 +0000
parents 4bd450a8dbe2
children f3bbf5f32462
line wrap: on
line diff
--- a/lisp/mh-e/mh-tool-bar.el	Fri Feb 03 19:31:55 2006 +0000
+++ b/lisp/mh-e/mh-tool-bar.el	Fri Feb 03 19:32:06 2006 +0000
@@ -31,6 +31,10 @@
 ;;; Code:
 
 (require 'mh-e)
+(mh-do-in-gnu-emacs
+  (require 'tool-bar))
+(mh-do-in-xemacs
+  (require 'toolbar))
 
 ;;; Tool Bar Commands