Mike Kupfer | 27 Dec 2011 19:51
Picon
Favicon

[patch] switch to disable compile-time feature optimization

As discussed on #mh-e.  This uses the XEmacs package source
organization, not the Emacs layout.

2008-02-24  Mike Kupfer  <mike.kupfer <at> xemacs.org>

	* lisp/mh-e.el (mh-allow-feature-optimization): New variable.

	* Makefile (PRELOADS): Set mh-allow-feature-optimization to nil.

	* lisp/mh-acros.el (mh-funcall-if-exists): Force check to happen
	at runtime if mh-allow-feature-optimization is nil.

	* lisp/mh-xemacs.el: Check for define-behavior at runtime, not
	compile time.

diff --git a/xemacs-packages/mh-e/Makefile b/xemacs-packages/mh-e/Makefile
--- a/xemacs-packages/mh-e/Makefile
+++ b/xemacs-packages/mh-e/Makefile
 <at>  <at>  -73,6 +73,7  <at>  <at> 
 DATA_FILES = $(shell echo etc/images/*.pbm etc/images/*.xpm etc/images/mail/*.pbm
etc/images/mail/*.xpm )
 DATA_DEST = $(PACKAGE)

+PRELOADS = -eval '(setq mh-allow-feature-optimization nil)'
 CUSTOM_LOAD_PRELOADS = -l lisp/mh-custom-macros.el

 include ../../XEmacs.rules
diff --git a/xemacs-packages/mh-e/lisp/mh-acros.el b/xemacs-packages/mh-e/lisp/mh-acros.el
--- a/xemacs-packages/mh-e/lisp/mh-acros.el
+++ b/xemacs-packages/mh-e/lisp/mh-acros.el
(Continue reading)


Gmane