Hi, The capture template
("t" "task" entry (clock) "* TODO %? %^G:\n ") is giving me the error org-find-base-buffer-visiting: Wrong type argument: stringp, #<buffer refile.org> The patch below fixes it. diff --git a/lisp/org-capture.el b/lisp/org-capture.el index decf50a..0942e8b 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -585,7 +585,8 @@ already gone." (if (and (markerp org-clock-hd-marker) (marker-buffer org-clock-hd-marker)) (progn (set-buffer (org-capture-target-buffer - (marker-buffer org-clock-hd-marker))) + (buffer-file-name (marker-buffer + org-clock-hd-marker)))) (goto-char org-clock-hd-marker)) (error "No running clock that could be used as capture target"))) Thanks, Puneeth _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode