diff options
| author | Sean Allred <code@seanallred.com> | 2015-01-17 10:32:05 -0500 |
|---|---|---|
| committer | Sean Allred <code@seanallred.com> | 2015-01-17 10:32:05 -0500 |
| commit | fdd4e7064fa3de8f62d81bceb99901d5765c4e5a (patch) | |
| tree | 93878b73f486ab3bd54f53531b98dc44d6796765 | |
| parent | 6c4e7c6b95e8bd7d83e5d0f868d9fb3a70c7a974 (diff) | |
Prune useless progn form
| -rw-r--r-- | sx.el | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -264,14 +264,11 @@ whenever BODY evaluates to nil." COMPARE-FUNC is a function that takes the return value of GET-FUNC and performs the actual comparison." (declare (indent 1) (doc-string 2)) - `(progn - ;; In using `defalias', the macro supports both function - ;; symbols and lambda expressions. - (defun ,name (a b) - ,doc - (funcall ,compare-func - (funcall ,get-func a) - (funcall ,get-func b))))) + `(defun ,name (a b) + ,doc + (funcall ,compare-func + (funcall ,get-func a) + (funcall ,get-func b)))) ;;; Printing request data |
