# HG changeset patch # User Mark D. Baushke # Date 1138995126 0 # Node ID 04d228a1b5c8d34023de12ff4d476cf1a5df710b # Parent 18f95be962c1bb751ccb7e809002b5281ee64280 * 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. diff -r 18f95be962c1 -r 04d228a1b5c8 lisp/mh-e/ChangeLog --- a/lisp/mh-e/ChangeLog Fri Feb 03 19:31:55 2006 +0000 +++ b/lisp/mh-e/ChangeLog Fri Feb 03 19:32:06 2006 +0000 @@ -1,3 +1,9 @@ +2006-02-03 Mark D. Baushke + + * 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 * mh-compat.el (mh-url-unreserved-chars): Fix typo from diff -r 18f95be962c1 -r 04d228a1b5c8 lisp/mh-e/mh-tool-bar.el --- 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