Remove some home-grown copies of cl-lib functions.

* lisp/org.el (org-count, org-remove-if, org-remove-if-not):
(org-reduce, org-every, org-some): Obsolete, use cl-lib versions
everywhere.
(org-sublist): Reimplement in terms of `cl-subseq'; make obsolete.
This commit is contained in:
Aaron Ecay 2015-11-06 12:04:20 +00:00
parent d1298f4599
commit 3fa42fb53f

View file

@ -593,7 +593,7 @@ description."
(defun org-contacts-remove-ignored-property-values (ignore-list list) (defun org-contacts-remove-ignored-property-values (ignore-list list)
"Remove all ignore-list's elements from list and you can use "Remove all ignore-list's elements from list and you can use
regular expressions in the ignore list." regular expressions in the ignore list."
(org-remove-if (lambda (el) (cl-remove-if (lambda (el)
(org-find-if (lambda (x) (org-find-if (lambda (x)
(string-match-p x el)) (string-match-p x el))
ignore-list)) ignore-list))