From 3187d324bd2439eeb93d46d72b0f795b242cab4b Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sat, 20 Nov 2021 13:45:48 +0100 Subject: debug number-of-entries --- local/bibli-paris/bibli-paris.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/local/bibli-paris/bibli-paris.el b/local/bibli-paris/bibli-paris.el index 5083885..d092365 100644 --- a/local/bibli-paris/bibli-paris.el +++ b/local/bibli-paris/bibli-paris.el @@ -84,7 +84,9 @@ (defun bibli-paris/number-of-entries () "Return the number library entries in the current buffer." (interactive) - (message (length (org-map-entries (lambda () t))))) + (let ((result (length (org-map-entries (lambda () t))))) + (message "%d" result) + result)) ;; sort entries -- cgit v1.2.3