1. Jeff Sparkes
  2. XEmacs

Commits

Aidan Kehoe  committed 72a9467

Only make promote_args_lazy() available if WITH_NUMBER_TYPES.

src/ChangeLog addition:

2013-12-15 Aidan Kehoe <kehoea@parhasard.net>

* number.h:
Only make promote_args_lazy() available on builds
WITH_NUMBER_TYPES, in case linking complains about promote_args()
not being available.

tests/ChangeLog addition:

2013-12-15 Aidan Kehoe <kehoea@parhasard.net>

* automated/lisp-tests.el (character):
Remove a debugging statement from this.

  • Participants
  • Parent commits f22989b
  • Branches default

Comments (0)

Files changed (4)

File src/ChangeLog

View file
+2013-12-15  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* number.h:
+	Only make promote_args_lazy() available on builds
+	WITH_NUMBER_TYPES, in case linking complains about promote_args()
+	not being available.
+
 2013-12-15  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* bytecode.c (bytecode_arithcompare):

File src/number.h

View file
 extern enum number_type get_number_type (Lisp_Object);
 extern enum number_type promote_args (Lisp_Object *, Lisp_Object *);
 
+#ifdef WITH_NUMBER_TYPES
+
 /* promote_args() *always* converts a marker argument to a fixnum.
 
    Unfortunately, for a marker with byte position N, getting the (character)
   return (enum lazy_number_type) promote_args (obj1, obj2);
 }
 
-#ifdef WITH_NUMBER_TYPES
 DECLARE_INLINE_HEADER (
 int
 non_fixnum_number_p (Lisp_Object object))

File tests/ChangeLog

View file
+2013-12-15  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* automated/lisp-tests.el (character):
+	Remove a debugging statement from this.
+
 2013-12-15  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* automated/face-tests.el:

File tests/automated/lisp-tests.el

View file
 			     context)))
 	              markers))))
     (with-temp-buffer
-      (princ "hello there, in with-temp-buffer\n" (get-buffer "*scratch*"))
       (loop for ii from 0 to 100
 	do (progn
 	     (insert " " character " " character " " character " "