all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#19396: 25.0.50; Compilation fails on Darwin
@ 2014-12-17  9:06 Didier Verna
  2014-12-23  7:55 ` Jan D.
  0 siblings, 1 reply; 2+ messages in thread
From: Didier Verna @ 2014-12-17  9:06 UTC (permalink / raw)
  To: 19396


  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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#19396: 25.0.50; Compilation fails on Darwin
  2014-12-17  9:06 bug#19396: 25.0.50; Compilation fails on Darwin Didier Verna
@ 2014-12-23  7:55 ` Jan D.
  0 siblings, 0 replies; 2+ messages in thread
From: Jan D. @ 2014-12-23  7:55 UTC (permalink / raw)
  To: Didier Verna; +Cc: 19396-done

Thanks, applied.

	Jan D.

> 17 dec 2014 kl. 10:06 skrev Didier Verna <didier@didierverna.net>:
> 
> 
>  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
> 
> 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-23  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-17  9:06 bug#19396: 25.0.50; Compilation fails on Darwin Didier Verna
2014-12-23  7:55 ` Jan D.

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.