all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16246: Elisp manual: vconcat and the empty vector
@ 2013-12-24 22:24 Barry OReilly
  2014-01-05  1:34 ` Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Barry OReilly @ 2013-12-24 22:24 UTC (permalink / raw)
  To: 16246

[-- Attachment #1: Type: text/plain, Size: 912 bytes --]

The vconcat documentation in the Elisp manual is incorrect given (eq
[] []) evals to t. Here's a patch:

diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 00384de..cb1068b 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -471,11 +471,11 @@ each initialized to @var{object}.
 @cindex copying vectors
 This function returns a new vector containing all the elements of
 @var{sequences}.  The arguments @var{sequences} may be true lists,
-vectors, strings or bool-vectors.  If no @var{sequences} are given, an
-empty vector is returned.
+vectors, strings or bool-vectors.  If no @var{sequences} are given,
+the empty vector is returned.

-The value is a newly constructed vector that is not @code{eq} to any
-existing vector.
+If the value is not the empty vector, it is a newly constructed vector
+that is not @code{eq} to any existing vector.

 @example
 @group

[-- Attachment #2: Type: text/html, Size: 1022 bytes --]

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

* bug#16246: Elisp manual: vconcat and the empty vector
  2013-12-24 22:24 bug#16246: Elisp manual: vconcat and the empty vector Barry OReilly
@ 2014-01-05  1:34 ` Paul Eggert
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2014-01-05  1:34 UTC (permalink / raw)
  To: 16246-done

Thanks, I installed that patch, with slightly different wording.





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

end of thread, other threads:[~2014-01-05  1:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-24 22:24 bug#16246: Elisp manual: vconcat and the empty vector Barry OReilly
2014-01-05  1:34 ` Paul Eggert

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.