summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-tool-bar.el
diff options
context:
space:
mode:
authorMark D. Baushke <mdb@gnu.org>2006-02-03 19:32:06 +0000
committerMark D. Baushke <mdb@gnu.org>2006-02-03 19:32:06 +0000
commitf169fdd35f6b8d074a2d5b3c650cc62e159ac027 (patch)
tree7cff21631f2f6b55eac13f2f80b59e2d6c5aafaa /lisp/mh-e/mh-tool-bar.el
parentd2f45f32aac429538deb7a4d57fdc59981513dc5 (diff)
downloademacs-f169fdd35f6b8d074a2d5b3c650cc62e159ac027.tar.gz
* 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.
Diffstat (limited to 'lisp/mh-e/mh-tool-bar.el')
-rw-r--r--lisp/mh-e/mh-tool-bar.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mh-e/mh-tool-bar.el b/lisp/mh-e/mh-tool-bar.el
index ebf07a77672..20b239189fa 100644
--- a/lisp/mh-e/mh-tool-bar.el
+++ b/lisp/mh-e/mh-tool-bar.el
@@ -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