From 5b2bfff69e5d195305c7f802fa5c7c527e6da55d Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 15 Mar 2020 21:49:57 +0000 Subject: Remove dead code --- zettelkasten.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'zettelkasten.el') diff --git a/zettelkasten.el b/zettelkasten.el index 97f5eec..c13f0f8 100644 --- a/zettelkasten.el +++ b/zettelkasten.el @@ -128,9 +128,7 @@ Return the NUMth match. If NUM is nil, return the 0th match." (defun zettelkasten-find-new-note-name (note) "Iterate on ITERATION until a usable file based on NOTE is found." - (let ((expanded-name-it - (lambda (i) )) - (iteration 0) + (let ((iteration 0) (maxcount 10000)) (while (and (< iteration maxcount) (file-exists-p -- cgit