[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs loads site-start file when building blessmail
From: |
Ulrich Mueller |
Subject: |
Emacs loads site-start file when building blessmail |
Date: |
Sat, 17 Feb 2007 13:04:29 +0100 |
Hi,
in Emacs 22.0.93 (but in 21.4 and in the current CVS version, too)
the blessmail script in lib-src is generated by executing:
../src/emacs -batch -l $(srcdir)/../lisp/mail/blessmail.el
Emacs should not call the site initialization here, so the option
"--no-site-file" should be added. Proposed patch is included below.
See also Gentoo Linux bug #166059,
<http://bugs.gentoo.org/show_bug.cgi?id=166059>.
Ulrich
--- emacs-22.0.93/lib-src/Makefile.in~ 2007-01-17 16:53:20.000000000 +0100
+++ emacs-22.0.93/lib-src/Makefile.in 2007-02-17 11:29:06.000000000 +0100
@@ -23,6 +23,10 @@
# inherited from the environment.
SHELL = /bin/sh
+# following two lines taken from ../lisp/Makefile.in
+EMACS = ../src/emacs
+EMACSOPT = -batch --no-site-file --multibyte
+
# ==================== Things `configure' will edit ====================
CC=@CC@
@@ -279,7 +283,7 @@
#ifdef MOVEMAIL_NEEDS_BLESSING
blessmail:
- ../src/emacs -batch -l $(srcdir)/../lisp/mail/blessmail.el
+ $(EMACS) $(EMACSOPT) -l $(srcdir)/../lisp/mail/blessmail.el
chmod +x blessmail
#endif
- Emacs loads site-start file when building blessmail,
Ulrich Mueller <=