bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19396: 25.0.50; Compilation fails on Darwin


From: Jan D.
Subject: bug#19396: 25.0.50; Compilation fails on Darwin
Date: Tue, 23 Dec 2014 08:55:50 +0100

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
> 
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]