From c16500344c1369b8df0b58c5098c8a7012fc27ef Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 9 Jan 2020 21:02:23 +0100 Subject: [PATCH] Globally require `dash' --- site-lisp/db-utils.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site-lisp/db-utils.el b/site-lisp/db-utils.el index 4f95149..119c541 100644 --- a/site-lisp/db-utils.el +++ b/site-lisp/db-utils.el @@ -10,6 +10,7 @@ (require 'subr-x) (require 'cl-lib) +(require 'dash) ;;; application shortcuts @@ -170,7 +171,6 @@ the result in the minibuffer." (read-from-minibuffer "String (hex): ")))) (cl-assert (not (string-match-p "[^A-Fa-e0-9 \t\n]" hex-string)) "String contains invalid characters.") - (require 'dash) (let ((result (->> hex-string (replace-regexp-in-string "[ \t\n]" "") (string-to-list) @@ -191,7 +191,6 @@ might depend on the coding system of the current buffer." (interactive (list (if (use-region-p) (buffer-substring-no-properties (region-beginning) (region-end)) (read-from-minibuffer "String (ascii): ")))) - (require 'dash) (let ((result (->> text-string (--map (format "%2X " it)) (apply #'concat)