From 36db18e0fe926df1e386e2b89d0d5a06528a6ed8 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 29 Dec 2023 00:34:42 +0200 Subject: with-gnosis-buffer: Updaete macro to enable gnosis-mode --- gnosis.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnosis.el') diff --git a/gnosis.el b/gnosis.el index 7215d6b..8a07251 100644 --- a/gnosis.el +++ b/gnosis.el @@ -98,7 +98,9 @@ Example: (defmacro with-gnosis-buffer (&rest body) "Execute BODY in gnosis buffer." `(with-current-buffer (switch-to-buffer (get-buffer-create "*gnosis*")) - ,@body)) + (gnosis-mode) + ,@body)) + ;; TODO: Use gnosis-completing-read to display total notes for review ;; option (defun gnosis-completing-read (prompt candidates) -- cgit v1.2.3