Skip to content

Commit 6b5f83e

Browse files
committed
Fix: Require dash-functional for macros
Thanks to Jon Snader (jcs of Irreal) for reporting.
1 parent 6a87b3a commit 6b5f83e

File tree

3 files changed

+212
-203
lines changed

3 files changed

+212
-203
lines changed

README.org

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,6 +2248,9 @@ When called from an Org source block, it gives output like this:
22482248
These macros make comparing multiple forms easy:
22492249

22502250
#+BEGIN_SRC elisp :exports code :results silent :tangle epdh.el
2251+
;; TODO: Consider not using `-on' here to avoid the extra dependency.
2252+
(require 'dash-functional)
2253+
22512254
;;;###autoload
22522255
(cl-defmacro bench-multi (&key (times 1) forms ensure-equal raw)
22532256
"Return Org table as a list with benchmark results for FORMS.

epdh.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ avoid counting existing garbage which needs collection."
8686
(progn
8787
,@body)))))
8888

89+
;; TODO: Consider not using `-on' here to avoid the extra dependency.
90+
(require 'dash-functional)
91+
8992
;;;###autoload
9093
(cl-defmacro bench-multi (&key (times 1) forms ensure-equal raw)
9194
"Return Org table as a list with benchmark results for FORMS.

0 commit comments

Comments
 (0)