瀏覽代碼

Fix the clock target for org-capture

Carsten Dominik 14 年之前
父節點
當前提交
ae20361475
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      lisp/org-capture.el

+ 1 - 2
lisp/org-capture.el

@@ -584,8 +584,7 @@ already gone."
        ((eq (car target) 'clock)
 	(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)))
+	    (progn (set-buffer (marker-buffer org-clock-hd-marker))
 		   (goto-char org-clock-hd-marker))
 	  (error "No running clock that could be used as capture target")))