From 509fb89d06f88364556ad04f6c7b66f395168ded Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 23 Dec 2020 19:30:46 -0500 Subject: Drop use of dash --- lisp/km-compile.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/km-compile.el') diff --git a/lisp/km-compile.el b/lisp/km-compile.el index 9ccb7a5..2e8e571 100644 --- a/lisp/km-compile.el +++ b/lisp/km-compile.el @@ -22,7 +22,7 @@ (require 'compile) -(require 'dash) +(require 'seq) (defvar km/compilation-buffer-name-prefix "compilation: ") @@ -85,7 +85,7 @@ Otherwise, if ARG is non-nil, prompt with buffers from (= arg 0)) (get-buffer (km/compilation-name-by-directory))) (t - (let ((cbufs (-map #'buffer-name (km/compilation-buffer-list))) + (let ((cbufs (mapcar #'buffer-name (km/compilation-buffer-list))) buf) (cl-case (length cbufs) (0 (user-error "No compilation buffers found")) @@ -95,7 +95,7 @@ Otherwise, if ARG is non-nil, prompt with buffers from buf)))) (defun km/compilation-buffer-list () - (-filter #'km/compilation-buffer-p (buffer-list))) + (seq-filter #'km/compilation-buffer-p (buffer-list))) (defun km/compile-make-pdf-target (command) (and (string-match (rx string-start -- cgit v1.2.3