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

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

bug#17125: Acknowledgement (24.4.50; daemon mode: closing X client frame


From: Andreas Schwab
Subject: bug#17125: Acknowledgement (24.4.50; daemon mode: closing X client frame exits entire emacs)
Date: Tue, 01 Apr 2014 17:27:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Dmitry Antipov <dmantipov@yandex.ru> writes:

> === modified file 'src/lisp.h'
> --- src/lisp.h        2014-03-27 22:52:14 +0000
> +++ src/lisp.h        2014-04-01 14:07:02 +0000
> @@ -3709,6 +3709,16 @@
>    return v;
>  }
>  
> +/* Fast path to avoid Fvconcat (1, &obj).  */
> +
> +INLINE Lisp_Object
> +vector1 (Lisp_Object obj)
> +{
> +  Lisp_Object v = make_uninit_vector (1);
> +  ASET (v, 0, obj);
> +  return v;
> +}
> +

This is not a useful comment.  Fvconcat(1,&obj) and vector1(obj) have
quite different semantics.  The latter creates a one-element vector
containing obj (same as Fvector(1,&obj)), whereas the former creates a
vector from all elements in obj.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





reply via email to

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