Variable: org-log-into-drawer

org-log-into-drawer is a customizable variable defined in org.el.gz.

Value

nil

Documentation

Non-nil means insert state change notes and time stamps into a drawer.

When nil, state changes notes will be inserted after the headline and any scheduling and clock lines, but not inside a drawer.

The value of this variable should be the name of the drawer to use. LOGBOOK is proposed as the default drawer for this purpose, you can also set this to a string to define the drawer of your choice.

A value of t is also allowed, representing "LOGBOOK".

A value of t or nil can also be set with on a per-file-basis with

   #+STARTUP: logdrawer
   #+STARTUP: nologdrawer

If this variable is set, org-log-state-notes-insert-after-drawers will be ignored.

You can set the property LOG_INTO_DRAWER to overrule this setting for a subtree.

Do not check directly this variable in a Lisp program. Call function org-log-into-drawer(var)/org-log-into-drawer(fun) instead.

Aliases

org-log-state-notes-into-drawer

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-log-into-drawer nil
  "Non-nil means insert state change notes and time stamps into a drawer.
When nil, state changes notes will be inserted after the headline and
any scheduling and clock lines, but not inside a drawer.

The value of this variable should be the name of the drawer to use.
LOGBOOK is proposed as the default drawer for this purpose, you can
also set this to a string to define the drawer of your choice.

A value of t is also allowed, representing \"LOGBOOK\".

A value of t or nil can also be set with on a per-file-basis with

   #+STARTUP: logdrawer
   #+STARTUP: nologdrawer

If this variable is set, `org-log-state-notes-insert-after-drawers'
will be ignored.

You can set the property LOG_INTO_DRAWER to overrule this setting for
a subtree.

Do not check directly this variable in a Lisp program.  Call
function `org-log-into-drawer' instead."
  :group 'org-todo
  :group 'org-progress
  :type '(choice
	  (const :tag "Not into a drawer" nil)
	  (const :tag "LOGBOOK" t)
	  (string :tag "Other")))