branch: elpa/j-mode
commit 5a09a735b38e64fb0825c15019203d6601ab83e6
Author: yagi <[email protected]>
Commit: yagi <[email protected]>
Remove if-let macro
---
j-help.el | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/j-help.el b/j-help.el
index cf0845686e..c912b9ea82 100644
--- a/j-help.el
+++ b/j-help.el
@@ -41,19 +41,6 @@
;;; Code:
-(defmacro if-let ( binding then &optional else )
- "Bind value according to BINDING and check for truthy-ness
-If the test passes then eval THEN with the BINDING varlist bound
-If no, eval ELSE with no binding"
- (let* ((sym (caar binding))
- (tst (cdar binding))
- (gts (gensym)))
- `(let ((,gts ,@tst))
- (if ,gts
- (let ((,sym ,gts))
- ,then)
- ,else))))
-
(defun group-by* ( list fn prev coll agr )
"Helper method for the group-by function. Should not be called directly."
(if list