Anonymous avatar Anonymous committed 0d31411

Don't call #'values from compiled code from 21.4, build-repor

Comments (0)

Files changed (2)

+2009-10-01  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* build-report.el: 
+	Have compiled 21.4 code also work on XEmacs binaries with real
+	support for multiple values, by avoiding runtime calls to
+	#'values.
+	Not waiting for approval from Adrian, as he hasn't been around
+	recently, and the code worked fine in the other packages it has
+	been applied to.
+
 2003-10-31  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.14 released.
 (require 'cl)
 (provide 'build-report)
 
+(eval-when-compile (when (eq 'list (symbol-function 'values))
+                     (define-compiler-macro values (&rest args)
+                       `(list ,@args))))
+
 ;;; Constant definitions used internally by `build-report'.  These are not
 ;;; anticipated to be changed by users of `build-report'.
 ;;; If users do need to change the value of any of these, they need to do
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.