diff options
| author | Mark D. Baushke | 2006-02-03 19:32:06 +0000 |
|---|---|---|
| committer | Mark D. Baushke | 2006-02-03 19:32:06 +0000 |
| commit | f169fdd35f6b8d074a2d5b3c650cc62e159ac027 (patch) | |
| tree | 7cff21631f2f6b55eac13f2f80b59e2d6c5aafaa | |
| parent | d2f45f32aac429538deb7a4d57fdc59981513dc5 (diff) | |
| download | emacs-f169fdd35f6b8d074a2d5b3c650cc62e159ac027.tar.gz emacs-f169fdd35f6b8d074a2d5b3c650cc62e159ac027.zip | |
* 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.
| -rw-r--r-- | lisp/mh-e/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/mh-e/mh-tool-bar.el | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog index 1ce5ff87b6d..85e4ddbfe6b 100644 --- a/lisp/mh-e/ChangeLog +++ b/lisp/mh-e/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2006-02-03 Mark D. Baushke <mdb@gnu.org> | ||
| 2 | |||
| 3 | * mh-tool-bar.el: Add conditional require of 'tool-bar or 'toolbar | ||
| 4 | for gnu-emacs or xemacs to avoid void-variable tool-bar-map lisp | ||
| 5 | errors if describe-bindings is called before tool-bar-mode is used. | ||
| 6 | |||
| 1 | 2006-02-03 Peter S Galbraith <psg@debian.org> | 7 | 2006-02-03 Peter S Galbraith <psg@debian.org> |
| 2 | 8 | ||
| 3 | * mh-compat.el (mh-url-unreserved-chars): Fix typo from | 9 | * mh-compat.el (mh-url-unreserved-chars): Fix typo from |
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 @@ | |||
| 31 | ;;; Code: | 31 | ;;; Code: |
| 32 | 32 | ||
| 33 | (require 'mh-e) | 33 | (require 'mh-e) |
| 34 | (mh-do-in-gnu-emacs | ||
| 35 | (require 'tool-bar)) | ||
| 36 | (mh-do-in-xemacs | ||
| 37 | (require 'toolbar)) | ||
| 34 | 38 | ||
| 35 | ;;; Tool Bar Commands | 39 | ;;; Tool Bar Commands |
| 36 | 40 | ||