diff options
Diffstat (limited to 'Doom/.doom.d/org/personal.org')
-rw-r--r-- | Doom/.doom.d/org/personal.org | 2 |
1 files changed, 1 insertions, 1 deletions
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 |