aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-utils.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-09-15 21:36:23 +0300
committerAlex Kost <alezost@gmail.com>2015-09-18 21:41:46 +0300
commitb2cb869cf928aa0aba7716103548b49af852d6e6 (patch)
tree83240bd4a2dd9d8c526c044c90673239b167c94d /emacs/guix-utils.el
parenteda1cc8b5d68189166e1d61142aa84e5af4187c7 (diff)
downloadguix-b2cb869cf928aa0aba7716103548b49af852d6e6.tar
guix-b2cb869cf928aa0aba7716103548b49af852d6e6.tar.gz
emacs: Replace 'guix-any' with 'cl-some'.
* emacs/guix-utils.el (guix-any): Remove. * emacs/guix-command.el (guix-command-improve-argument): Use 'cl-some' instead of 'guix-any'.
Diffstat (limited to 'emacs/guix-utils.el')
-rw-r--r--emacs/guix-utils.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/emacs/guix-utils.el b/emacs/guix-utils.el
index 682609d907..d1f088b6a8 100644
--- a/emacs/guix-utils.el
+++ b/emacs/guix-utils.el
@@ -226,14 +226,6 @@ single argument."
(while (re-search-forward ,regexp nil t)
,@body)))
-(defun guix-any (pred lst)
- "Test whether any element from LST satisfies PRED.
-If so, return the return value from the successful PRED call.
-Return nil otherwise."
- (when lst
- (or (funcall pred (car lst))
- (guix-any pred (cdr lst)))))
-
;;; Alist accessors