Fix refile bug which would always refile to the clock
This bug resulted from a recent patch which made a prefix arg of 2 to mean refile to the clock. However, I forgot to actually test the value of the prefix arg...
This commit is contained in:
parent
49da78775f
commit
36b8aaac5a
|
@ -1,3 +1,8 @@
|
|||
2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-refile): Refile to clock only if the prefix arg is
|
||||
2.
|
||||
|
||||
2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-remember.el (org-remember-apply-template): Make sure the
|
||||
|
|
|
@ -8955,7 +8955,8 @@ See also `org-refile-use-outline-path' and `org-completion-use-ido'"
|
|||
(if (equal goto '(16))
|
||||
(org-refile-goto-last-stored)
|
||||
(when (or
|
||||
(and org-clock-hd-marker (marker-buffer org-clock-hd-marker)
|
||||
(and (equal goto 2)
|
||||
org-clock-hd-marker (marker-buffer org-clock-hd-marker)
|
||||
(prog1
|
||||
(setq it (list (or org-clock-heading "running clock")
|
||||
(buffer-file-name
|
||||
|
|
Loading…
Reference in New Issue