From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Cc: Nicolas Petton <nicolas@petton.fr>
Subject: Documentation patch for seq-subseq
Date: Thu, 1 Sep 2016 10:47:48 -0400 [thread overview]
Message-ID: <6355eaaf-a72b-c45f-a2b6-17f3b7698057@gmail.com> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 194 bytes --]
Hey emacs-devel,
Attached is a patch fixing the documentation of seq-subseq. I guess it should go to emacs-25?
Test case:
(seq-subseq '(0 1 2 3) 0 3)
⇒ (0 1 2)
Clément.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: 0001-Fix-documentation-of-seq-subseq.patch --]
[-- Type: text/x-diff; name="0001-Fix-documentation-of-seq-subseq.patch", Size: 835 bytes --]
From 75922f04f9ee8142dd85f6419430a8111c0c735c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Pit--Claudel?= <clement.pitclaudel@live.com>
Date: Thu, 1 Sep 2016 10:46:14 -0400
Subject: [PATCH] ; Fix documentation of seq-subseq
---
lisp/emacs-lisp/seq.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el
index e5004f8..9859f28 100644
--- a/lisp/emacs-lisp/seq.el
+++ b/lisp/emacs-lisp/seq.el
@@ -137,7 +137,7 @@ seq-do-indexed
(cl-defgeneric seq-subseq (sequence start &optional end)
"Return the sequence of elements of SEQUENCE from START to END.
-END is inclusive.
+END is exclusive.
If END is omitted, it defaults to the length of the sequence. If
START or END is negative, it counts from the end. Signal an
--
2.7.4
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2016-09-01 14:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-01 14:47 Clément Pit--Claudel [this message]
2016-09-02 1:02 ` Documentation patch for seq-subseq John Wiegley
2016-09-02 8:02 ` Nicolas Petton
2016-09-02 14:11 ` Clément Pit--Claudel
2016-09-02 19:21 ` Nicolas Petton
2016-09-02 11:01 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6355eaaf-a72b-c45f-a2b6-17f3b7698057@gmail.com \
--to=clement.pit@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=nicolas@petton.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.