diff options
author | Thanos Apollo <[email protected]> | 2024-02-21 12:45:16 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-21 12:45:16 +0200 |
commit | 420e68b2a635e5c72f8f5db3e1b69dc89d26d7dd (patch) | |
tree | 89fee4c1096c8d16f54e336b4e2452eb405e3896 /gnosis.el | |
parent | d0487b77d18d2280442eab217c5db97e27879a5d (diff) |
gnosis-review-note: Use pop-to-buffer
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1028,9 +1028,9 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face." (func-name (intern (format "gnosis-review-%s" (downcase type))))) (if (fboundp func-name) (progn - (with-current-buffer (switch-to-buffer (get-buffer-create "*gnosis*")) - (gnosis-mode) - (funcall func-name id))) + (pop-to-buffer (get-buffer-create "*gnosis*")) + (gnosis-mode) + (funcall func-name id)) (error "Malformed note type: '%s'" type)))) |