diff options
author | Gerd Moellmann <[email protected]> | 2000-07-05 17:29:40 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2000-07-05 17:29:40 +0000 |
commit | e2b1c424356b717e6f4e9c6064065ff394c07131 (patch) | |
tree | b40970be5e1caf569a7fb851fe08014005dd44ed /lisp/emacs-lisp/cl-extra.el | |
parent | a2ff3819f64ba2d79b3fc92756a13332afd6a37e (diff) |
(cl-old-mapc): Removed; don't defalias mapc.
(cl-mapc): Use mapc instead of cl-old-mapc.
Diffstat (limited to 'lisp/emacs-lisp/cl-extra.el')
-rw-r--r-- | lisp/emacs-lisp/cl-extra.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el index 79b6306bfc..1784d65a9b 100644 --- a/lisp/emacs-lisp/cl-extra.el +++ b/lisp/emacs-lisp/cl-extra.el @@ -152,15 +152,12 @@ the elements themselves." (setq cl-list (cdr cl-list))) (nreverse cl-res)))) -(defvar cl-old-mapc (prog1 (symbol-function 'mapc) - (defalias 'mapc 'cl-mapc))) - (defun cl-mapc (cl-func cl-seq &rest cl-rest) "Like `mapcar', but does not accumulate values returned by the function." (if cl-rest (progn (apply 'map nil cl-func cl-seq cl-rest) cl-seq) - (funcall cl-old-mapc cl-func cl-seq))) + (mapc cl-func cl-seq))) (defun mapl (cl-func cl-list &rest cl-rest) "Like `maplist', but does not accumulate values returned by the function." |