diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emacs-lisp/cl-preloaded.el | 1 | ||||
| -rw-r--r-- | lisp/emacs-lisp/seq.el | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/cl-preloaded.el b/lisp/emacs-lisp/cl-preloaded.el index d11c97a3e3a..cba56e0bbd4 100644 --- a/lisp/emacs-lisp/cl-preloaded.el +++ b/lisp/emacs-lisp/cl-preloaded.el | |||
| @@ -365,6 +365,7 @@ | |||
| 365 | (cl--define-built-in-type buffer atom) | 365 | (cl--define-built-in-type buffer atom) |
| 366 | (cl--define-built-in-type window atom) | 366 | (cl--define-built-in-type window atom) |
| 367 | (cl--define-built-in-type process atom) | 367 | (cl--define-built-in-type process atom) |
| 368 | (cl--define-built-in-type finalizer atom) | ||
| 368 | (cl--define-built-in-type window-configuration atom) | 369 | (cl--define-built-in-type window-configuration atom) |
| 369 | (cl--define-built-in-type overlay atom) | 370 | (cl--define-built-in-type overlay atom) |
| 370 | (cl--define-built-in-type number-or-marker atom | 371 | (cl--define-built-in-type number-or-marker atom |
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el index 20077db9e60..a20cff16982 100644 --- a/lisp/emacs-lisp/seq.el +++ b/lisp/emacs-lisp/seq.el | |||
| @@ -362,8 +362,7 @@ the result. | |||
| 362 | 362 | ||
| 363 | The result is a sequence of the same type as SEQUENCE." | 363 | The result is a sequence of the same type as SEQUENCE." |
| 364 | (seq-concatenate | 364 | (seq-concatenate |
| 365 | (let ((type (type-of sequence))) | 365 | (if (listp sequence) 'list (type-of sequence)) |
| 366 | (if (eq type 'cons) 'list type)) | ||
| 367 | (seq-subseq sequence 0 n) | 366 | (seq-subseq sequence 0 n) |
| 368 | (seq-subseq sequence (1+ n)))) | 367 | (seq-subseq sequence (1+ n)))) |
| 369 | 368 | ||