Fold CLOCK and LOGBOOK drawers upon creating them
commitd30bea7cee4f54cbc5ad9075be8584ac5252b6a7
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 19 Oct 2016 20:52:58 +0000 (19 22:52 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 10 Jan 2018 14:58:21 +0000 (10 15:58 +0100)
treef71e3184c24bacc4dd76b743aadefe4d0f35f7a7
parent4403d4685e19fb99ba9bfec2bd4ff6781c66981f
Fold CLOCK and LOGBOOK drawers upon creating them

* lisp/org-clock.el (org-clock-find-position): Use a faster call to hide
  clock drawer.
* lisp/org.el (org-log-beginning): Make sure logbook drawer is folded as
  soon as inserted.
(org-store-log-note): Remove unnecessary call to
`org-cycle-hide-drawers'.
lisp/org-clock.el
lisp/org.el