branch: externals/denote commit d46aee3bf69e3ced28db9a392ba3e393a5a3d5bf Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Placate the compiler for unused argument Thanks to Elias Storms for testing my suggestion and confirming that it works: <https://lists.sr.ht/~protesilaos/denote/%3Cm2sfisexx7.fsf%40MBA21.fritz.box%3E#%3cm2edu5o01m....@mba21.fritz.box%3E>. --- denote-org-dblock.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote-org-dblock.el b/denote-org-dblock.el index 11fc556890..5b62241a02 100644 --- a/denote-org-dblock.el +++ b/denote-org-dblock.el @@ -134,7 +134,7 @@ Used by `org-dblock-update' with PARAMS provided by the dynamic block." (org-dynamic-block-define "denote-backlinks" 'denote-org-dblock-insert-backlinks) -(defun org-dblock-write:denote-backlinks (params) +(defun org-dblock-write:denote-backlinks (_params) "Function to update `denote-backlinks' Org Dynamic blocks. Used by `org-dblock-update' with PARAMS provided by the dynamic block." (when-let* ((file (buffer-file-name))