mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Avoid cl-cXXXr compat aliases
* lisp/emacs-lisp/cl-lib.el (cl-third, cl-fourth): * lisp/emacs-lisp/cl-macs.el (cl--do-&aux, cl--do-arglist) (cl--parse-loop-clause, cl--loop-let, cl--loop-build-ands) (cl--do-proclaim, cl-defstruct): Prefer using cXXXr functions directly, instead of cl-cXXXr prefixed compat aliases.
This commit is contained in:
parent
85f1ad0c79
commit
72c7ee2e52
2 changed files with 14 additions and 14 deletions
|
|
@ -372,8 +372,8 @@ SEQ, this is like `mapcar'. With several, it is like the Common Lisp
|
|||
(cl--defalias 'cl-second 'cadr)
|
||||
(cl--defalias 'cl-rest 'cdr)
|
||||
|
||||
(cl--defalias 'cl-third 'cl-caddr "Return the third element of the list X.")
|
||||
(cl--defalias 'cl-fourth 'cl-cadddr "Return the fourth element of the list X.")
|
||||
(cl--defalias 'cl-third #'caddr "Return the third element of the list X.")
|
||||
(cl--defalias 'cl-fourth #'cadddr "Return the fourth element of the list X.")
|
||||
|
||||
(defsubst cl-fifth (x)
|
||||
"Return the fifth element of the list X."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue