summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-08-18 19:21:32 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-08-18 19:21:32 +0200
commitf97668c38fe4b503d14200baa4fe9627c2cbcb1b (patch)
tree9e15e1dddd4efe0105c7c4dfeed95894927bbf31 /lisp/emacs-lisp
parentf98276f77b4e2cbf37e4d24387d21b48e9fd6144 (diff)
parentef1e68f11d9c5a4c66fa3b28c116ed3038a56496 (diff)
downloademacs-f97668c38fe4b503d14200baa4fe9627c2cbcb1b.tar.gz
emacs-f97668c38fe4b503d14200baa4fe9627c2cbcb1b.tar.bz2
emacs-f97668c38fe4b503d14200baa4fe9627c2cbcb1b.zip
Merge from origin/emacs-28
ef1e68f11d * lisp/image-mode.el (image-mode-as-hex): Fix toggle instr... dc0fce3a7d ; lisp/image-mode.el: Fix typo. 254ba1d3e5 * lisp/image-mode.el: Improve commentary. ac43ac1af9 cl-reduce doc string improvement
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/cl-seq.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/cl-seq.el b/lisp/emacs-lisp/cl-seq.el
index 64ae05bf2a0..60e204eaf51 100644
--- a/lisp/emacs-lisp/cl-seq.el
+++ b/lisp/emacs-lisp/cl-seq.el
@@ -139,6 +139,10 @@ only case where FUNCTION is called with fewer than two arguments.
If SEQ contains exactly one element and no :INITIAL-VALUE is
specified, then return that element and FUNCTION is not called.
+If :FROM-END is non-nil, the reduction occurs from the back of
+the SEQ moving forward, and the order of arguments to the
+FUNCTION is also reversed.
+
\n(fn FUNCTION SEQ [KEYWORD VALUE]...)"
(cl--parsing-keywords (:from-end (:start 0) :end :initial-value :key) ()
(or (listp cl-seq) (setq cl-seq (append cl-seq nil)))