aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-08-27 11:15:01 +0200
committerYann Herklotz <git@yannherklotz.com>2021-08-27 11:15:01 +0200
commit0328e998c511e41707a086b67f038e4137db9b1d (patch)
tree432e3b62588aac49202b0dcc5a072d3d7301874a
parent71cb49da1f51961013fa7a4a074f58ac5c15c689 (diff)
downloademacs-zettelkasten-0328e998c511e41707a086b67f038e4137db9b1d.tar.gz
emacs-zettelkasten-0328e998c511e41707a086b67f038e4137db9b1d.zip
Remove unused lexical bindings
-rw-r--r--zettelkasten.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/zettelkasten.el b/zettelkasten.el
index d5899cf..e3f9c8f 100644
--- a/zettelkasten.el
+++ b/zettelkasten.el
@@ -300,8 +300,8 @@ If PARENT is nil, it will not add a link from a PARENT."
(if (zettelkasten--find-parents n) nil n))
(zettelkasten--list-notes-by-id))))
-(defun zettelkasten-generate-site-map (title files)
- "Generate the site map for the Zettelkasten using TITLE and FILES."
+(defun zettelkasten-generate-site-map (title _)
+ "Generate the site map for the Zettelkasten using TITLE."
(let* ((ti (zettelkasten--get-tags-and-ids))
(tags (sort (car ti) #'string<)))
(concat
@@ -344,8 +344,8 @@ If PARENT is nil, it will not add a link from a PARENT."
"\n")))
tags)))))
-(defun zettelkasten-org-export-preprocessor (backend)
- "A preprocessor for Zettelkasten directories, using the BACKEND.
+(defun zettelkasten-org-export-preprocessor (_)
+ "A preprocessor for Zettelkasten directories.
Adds information such as backlinks to the `org-mode' files before
publishing."