]> code.delx.au - gnu-emacs/commitdiff
* mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar
authorMark D. Baushke <mdb@gnu.org>
Fri, 3 Feb 2006 19:32:06 +0000 (19:32 +0000)
committerMark D. Baushke <mdb@gnu.org>
Fri, 3 Feb 2006 19:32:06 +0000 (19:32 +0000)
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.

lisp/mh-e/ChangeLog
lisp/mh-e/mh-tool-bar.el

index 1ce5ff87b6d6285ac8cc21b89d4e619237ff3927..85e4ddbfe6b8e3e5c49182c7ce231d12d97df55f 100644 (file)
@@ -1,3 +1,9 @@
+2006-02-03  Mark D. Baushke  <mdb@gnu.org>
+
+       * 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.
+
 2006-02-03  Peter S Galbraith  <psg@debian.org>
 
        * mh-compat.el (mh-url-unreserved-chars): Fix typo from
index ebf07a77672e994c5e4c943ac5239442979b9a4d..20b239189faf6f25f6c4019b3d14a62308983b53 100644 (file)
 ;;; Code:
 
 (require 'mh-e)
+(mh-do-in-gnu-emacs
+  (require 'tool-bar))
+(mh-do-in-xemacs
+  (require 'toolbar))
 
 ;;; Tool Bar Commands