Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
68596:18f95be962c1 | 68597:04d228a1b5c8 |
---|---|
29 ;;; Change Log: | 29 ;;; Change Log: |
30 | 30 |
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 |
37 (defun mh-tool-bar-search (&optional arg) | 41 (defun mh-tool-bar-search (&optional arg) |
38 "Interactively call `mh-tool-bar-search-function'. | 42 "Interactively call `mh-tool-bar-search-function'. |