[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19396: 25.0.50; Compilation fails on Darwin
From: |
Didier Verna |
Subject: |
bug#19396: 25.0.50; Compilation fails on Darwin |
Date: |
Wed, 17 Dec 2014 10:06:07 +0100 |
Hello,
the following patch fixes a compilation problem on Darwin.
diff --git a/src/ChangeLog b/src/ChangeLog
index 596ae25..e6431f5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-17 Didier Verna <didier@didierverna.net>
+
+ * nsselect.m (Fns_selection_owner_p): Return a Lisp boolean, not a
+ C one.
+
2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca>
Various fixes to use bool type and constants.
diff --git a/src/nsselect.m b/src/nsselect.m
index bcf2ac1..3483692 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -437,8 +437,8 @@ On Nextstep, TERMINAL is unused. */)
CHECK_SYMBOL (selection);
if (EQ (selection, Qnil)) selection = QPRIMARY;
if (EQ (selection, Qt)) selection = QSECONDARY;
- return ns_get_pb_change_count (selection)
- == ns_get_our_change_count_for (selection);
+ return (ns_get_pb_change_count (selection)
+ == ns_get_our_change_count_for (selection)) ? Qt : Qnil;
}
--
My new Jazz CD entitled "Roots and Leaves" is out!
Check it out: http://didierverna.com/records/roots-and-leaves.php
Lisp, Jazz, Aïkido: http://www.didierverna.info
- bug#19396: 25.0.50; Compilation fails on Darwin,
Didier Verna <=