summaryrefslogtreecommitdiff
path: root/lisp/km-ace-link.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-12-23 19:30:46 -0500
committerKyle Meyer <kyle@kyleam.com>2020-12-24 00:25:22 -0500
commit509fb89d06f88364556ad04f6c7b66f395168ded (patch)
tree2ac98fc824a86c7d43570eb26aaec39cc462f421 /lisp/km-ace-link.el
parentbf90c6d7aa1d7b23eb32393d13e601f4ca56d755 (diff)
downloademacs.d-509fb89d06f88364556ad04f6c7b66f395168ded.tar.gz
Drop use of dash
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))))