Introduce CLOCK_INTO_DRAWER property like the existing LOG_INTO_DRAWER
commitd37223562d5e3ed6872c2f22af79147c3b98cfd4
authorAchim Gratz <stromeko@nexgo.de>
Mon, 27 Jun 2011 10:12:23 +0000 (27 12:12 +0200)
committerBastien Guerry <bzg@altern.org>
Mon, 27 Jun 2011 10:12:23 +0000 (27 12:12 +0200)
tree089085e758951be1040f03d0dd3b8db73aa8f873
parent4c219561512f09cc95fb8e2a0c073dbbd6d66d25
Introduce CLOCK_INTO_DRAWER property like the existing LOG_INTO_DRAWER

* lisp/org.el (defcustom org-log-into-drawer): correct typo
* lisp/org-clock.el: new function org-clock-into-drawer to change
  the location of clock events based on properties CLOCK_INTO_DRAWER
  or, as fallback, LOG_INTO_DRAWER, like it is already possible for
  state change logs.
* lisp/org-clock.el (org-clock-jump-to-current-clock): add statement
  to let clause to bind org-clock-into-drawer to result of function
  eval
* lisp/org-clock.el (org-clock-find-position): add statement
  to let clause to bind org-clock-into-drawer to result of function
  eval, change let to let* since the binding is used later in the
  same clause
* doc/org.texi: document that both CLOCK_INTO_DRAWER and
  LOG_INTO_DRAWER can be used to override the contents of variable
  org-clock-into-drawer (or if unset, org-log-into-drawer)
* doc/org.texi: @xref->@pxref
doc/org.texi
lisp/org-clock.el
lisp/org.el