Skip to content

Commit

Permalink
Fix issue #44. Make occ-capture window behaviour same as org-capture
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrey4296 committed Mar 26, 2020
1 parent de37d00 commit 7e37c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions org-category-capture.el
Expand Up @@ -98,11 +98,11 @@
(list 'function (lambda ()
(occ-capture-goto-marker context))))
(org-capture-put :target-entry-p (occ-target-entry-p strategy context))
(org-capture-place-template))))
(org-capture-place-template 't))))

(defun occ-capture-goto-marker (context)
(let ((marker (occ-get-capture-marker context)))
(switch-to-buffer (marker-buffer marker))
(set-buffer (marker-buffer marker))
(goto-char (marker-position marker))))

(defmethod occ-get-capture-marker ((context occ-context))
Expand Down

0 comments on commit 7e37c13

Please sign in to comment.