summaryrefslogtreecommitdiff
path: root/lisp/km-ace-link.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/km-ace-link.el')
-rw-r--r--lisp/km-ace-link.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/km-ace-link.el b/lisp/km-ace-link.el
index 0bb8ee6..1fc75c3 100644
--- a/lisp/km-ace-link.el
+++ b/lisp/km-ace-link.el
@@ -21,7 +21,6 @@
;;; Code:
(require 'avy)
-(require 'dash)
(require 'wid-edit)
(declare-function dired-next-line "dired" (arg))
@@ -31,8 +30,8 @@
(save-excursion
(goto-char (window-start))
(while (< (point) end)
- (--when-let (dired-next-line 1)
- (push it points)))
+ (when-let ((pt (dired-next-line 1)))
+ (push pt points)))
(nreverse points))))