branch: elpa/j-mode
commit 690c7acdfccac49a54798cc317aee1cd247fc2a2
Merge: e8725ac8af 5a09a735b3
Author: Zachary Elliott <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #26 from h8gi/master
Remove if-let macro to avoid conflict with emacs's if-let.
---
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