summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-29 00:34:42 +0200
committerThanos Apollo <[email protected]>2023-12-29 00:34:42 +0200
commit36db18e0fe926df1e386e2b89d0d5a06528a6ed8 (patch)
tree203db7c21da304216e6f4ca33880109f1b844f0b
parent61e2da6b34792b24fbc6f458b44cbe365fa8007e (diff)
with-gnosis-buffer: Updaete macro to enable gnosis-mode
-rw-r--r--gnosis.el4
1 files changed, 3 insertions, 1 deletions
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)