diff options
author | Sean Allred <code@seanallred.com> | 2014-11-27 14:19:24 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-27 14:19:24 -0500 |
commit | b2623682e9ce5e12615f792cd63197c46db60e00 (patch) | |
tree | 54867a156b4557d472fd0fb0bbef681122c4d023 | |
parent | ef6a16eece42f1b2bdbd0270f197964dddb5818d (diff) |
Simplify form to use `remove'
-rw-r--r-- | sx-auth.el | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -154,14 +154,14 @@ If it has `auth-required' properties, return a filter that has removed those properties." (let* ((incl-filter (if (listp filter) (car filter))) (rest-filter (if incl-filter (cdr filter))) - (auth-filters (cl-remove-if #'null - ;; Only retrieve the elements that - ;; are issues. - (mapcar (lambda (prop) - (car - (member prop - sx-auth-filter-auth))) - (or incl-filter filter)))) + (auth-filters (remove nil + ;; Only retrieve the elements that + ;; are issues. + (mapcar (lambda (prop) + (car + (member prop + sx-auth-filter-auth))) + (or incl-filter filter)))) clean-filter out-filter) (lwarn "sx-auth filter" :debug "Filter: %S" filter) ;; Auth-filters is the filters that are issues |