diff options
-rw-r--r-- | zettelkasten.el | 4 |
1 files changed, 1 insertions, 3 deletions
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 |