diff options
| author | Noam Postavsky | 2020-03-07 18:45:23 -0500 |
|---|---|---|
| committer | Noam Postavsky | 2020-03-07 18:45:23 -0500 |
| commit | b16ba4041db928826df5f58e9bfac9fb38208145 (patch) | |
| tree | 24110732d70e08962c38ca7eb3971ec184c766af | |
| parent | 3cbf4cb79600ade39a186f31448e56e0e6fdd364 (diff) | |
| download | emacs-b16ba4041db928826df5f58e9bfac9fb38208145.tar.gz emacs-b16ba4041db928826df5f58e9bfac9fb38208145.zip | |
; lisp/emacs-lisp/seq.el: Explain why we don't use cl-lib here
| -rw-r--r-- | lisp/emacs-lisp/seq.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el index 629a7a5fb30..e3037a71901 100644 --- a/lisp/emacs-lisp/seq.el +++ b/lisp/emacs-lisp/seq.el | |||
| @@ -58,6 +58,10 @@ | |||
| 58 | 58 | ||
| 59 | (eval-when-compile (require 'cl-generic)) | 59 | (eval-when-compile (require 'cl-generic)) |
| 60 | 60 | ||
| 61 | ;; We used to use some sequence functions from cl-lib, but this | ||
| 62 | ;; dependency was swapped around so that it will be easier to make | ||
| 63 | ;; seq.el preloaded in the future. See also Bug#39761#26. | ||
| 64 | |||
| 61 | (defmacro seq-doseq (spec &rest body) | 65 | (defmacro seq-doseq (spec &rest body) |
| 62 | "Loop over a sequence. | 66 | "Loop over a sequence. |
| 63 | Evaluate BODY with VAR bound to each element of SEQUENCE, in turn. | 67 | Evaluate BODY with VAR bound to each element of SEQUENCE, in turn. |