[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 b16ba40 2/2: ; lisp/emacs-lisp/seq.el: Explain why we don't use
emacs-27 b16ba40 2/2: ; lisp/emacs-lisp/seq.el: Explain why we don't use cl-lib here
Sat, 7 Mar 2020 18:56:35 -0500 (EST)
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
; lisp/emacs-lisp/seq.el: Explain why we don't use cl-lib here
lisp/emacs-lisp/seq.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el
index 629a7a5..e3037a7 100644
@@ -58,6 +58,10 @@
(eval-when-compile (require 'cl-generic))
+;; We used to use some sequence functions from cl-lib, but this
+;; dependency was swapped around so that it will be easier to make
+;; seq.el preloaded in the future. See also Bug#39761#26.
(defmacro seq-doseq (spec &rest body)
"Loop over a sequence.
Evaluate BODY with VAR bound to each element of SEQUENCE, in turn.