I can now build the XEmacs packages.
Thanks,
vin
Simon Josefsson <jas(a)extundo.com> writes:
mail-abbrev and sendmail are highly dependent on each other, the
usual
solution of placing the provide in the top of one file and requiring
the other there as well doesn't work -- mail-abbrev has top-level code
that need mail-mode-map, and sendmail has a macro that need to be
evaluated for the byte compiler to do the right thing when compiling
sendmail.
The patch below should be a quick solution, a better would be to clean
up the dependency between the files, but I'll save that for a rainy
day (or as a exercise for the reader).
[COMMIT]
2001-11-27 Simon Josefsson <jas(a)extundo.com>
* sendmail.el (top-level): Don't require mail-abbrev.
* mail-abbrevs.el (mail-abbrev-mailrc-file): Defun. Autoload.
--- sendmail.el.~1.14.~ Tue Nov 27 21:24:05 2001
+++ sendmail.el Tue Nov 27 22:02:18 2001
@@ -33,8 +33,6 @@
;;; Code:
(require 'rfc822)
-(eval-when-compile
- (require 'mail-abbrevs))
(defgroup sendmail nil
"Mail sending commands for Emacs."
--- mail-abbrevs.el.~1.5.~ Thu Nov 22 18:20:59 2001
+++ mail-abbrevs.el Tue Nov 27 21:55:06 2001
@@ -139,8 +139,9 @@
file)
:group 'mail-abbrevs)
-(defmacro mail-abbrev-mailrc-file ()
- '(or mail-abbrev-mailrc-file
+;;;###autoload
+(defun mail-abbrev-mailrc-file ()
+ (or mail-abbrev-mailrc-file
(setq mail-abbrev-mailrc-file
(or (getenv "MAILRC") "~/.mailrc"))))