That patch introduced the following compiler warning in GNU Emacs 21.3:
While compiling the end of the data in file /usr/local/src/mh-e/src/mh-e.el:
** The function `define-behavior' is not known to be defined.
I've included a patch that removes your patch from mh-e.el and moves it,
plus documentation, into mh-xemacs.el. Enjoy!
Index: mh-e.el
===================================================================
RCS file: /cvsroot/mh-e/src/mh-e.el,v
retrieving revision 1.399
diff -u -r1.399 mh-e.el
--- mh-e.el 4 Feb 2005 05:49:15 -0000 1.399
+++ mh-e.el 4 Feb 2005 06:06:52 -0000
@@ -2548,16 +2548,6 @@
(provide 'mh-e)
-;; XEmacs
-;;;###autoload
-(if (fboundp 'define-behavior-group)
-(define-behavior 'mh
- "Not documented."
-:group 'internet
-:commands
- '(["Read Mail (MH)..." (mh-rmail t)]))
-)
-
;;; Local Variables:
;;; indent-tabs-mode: nil
;;; sentence-end-double-space: nil
Index: mh-xemacs.el
===================================================================
RCS file: /cvsroot/mh-e/src/mh-xemacs.el,v
retrieving revision 1.7
diff -u -r1.7 mh-xemacs.el
--- mh-xemacs.el 15 Aug 2004 20:05:08 -0000 1.7
+++ mh-xemacs.el 4 Feb 2005 06:06:53 -0000
@@ -90,6 +90,16 @@
\"...#..#.#..#....#.\"};"
"The image for the modeline logo.")
+(if (fboundp 'define-behavior-group)
+ (define-behavior 'mh
+ "Emacs interface to the MH mail system.
+MH is the Rand Mail Handler. Other implementations include nmh and GNU
+mailutils."
+:short-doc "Emacs interface to the MH mail system"
+:group 'internet
+:commands
+ '(["Read Mail (MH-E)..." (mh-rmail t)])))
+
(mh-do-in-xemacs
(defvar mh-modeline-glyph
(progn
--
Bill Wohler <wohler(a)newt.com>
http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.