Subject: Re: bug#17125: Acknowledgement (24.4.50; daemon mode: closing X client frame exits entire emacs)

From: Andreas Schwab <[email-masked]>
Date: Tue, 01 Apr 2014 17:27:09 +0200

Dmitry Antipov <[email-masked]> 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, [email-masked]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."