From f7d134af3b36069ac267a5bc68ed41a1a140bbe2 Mon Sep 17 00:00:00 2001 From: dx Date: Thu, 11 Jun 2020 20:51:51 +0100 Subject: ~clean up config --- Doom/.doom.d/org/personal.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Doom/.doom.d/org/personal.org') diff --git a/Doom/.doom.d/org/personal.org b/Doom/.doom.d/org/personal.org index d8813cd..b07dd4e 100644 --- a/Doom/.doom.d/org/personal.org +++ b/Doom/.doom.d/org/personal.org @@ -79,7 +79,7 @@ Shamelessly copied from rosetta code. #+BEGIN_SRC elisp (defun dx:org/count-sub (str pat) (loop with z = 0 with s = 0 while s do - (when (setf s (search pat str :start2 s)) + (when (setf s (cl-search pat str :start2 s)) (incf z) (incf s (length pat))) finally (return z))) #+END_SRC -- cgit v1.2.3-13-gbd6f