Variable: org-insert-mode-line-in-empty-file

org-insert-mode-line-in-empty-file is a customizable variable defined in org.el.gz.

Value

nil

Documentation

Non-nil means insert the first line setting Org mode in empty files.

When the function org-mode is called interactively in an empty file, this normally means that the file name does not automatically trigger Org mode. To ensure that the file will always be in Org mode in the future, a line enforcing Org mode will be inserted into the buffer, if this option has been set.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-insert-mode-line-in-empty-file nil
  "Non-nil means insert the first line setting Org mode in empty files.
When the function `org-mode' is called interactively in an empty file, this
normally means that the file name does not automatically trigger Org mode.
To ensure that the file will always be in Org mode in the future, a
line enforcing Org mode will be inserted into the buffer, if this option
has been set."
  :group 'org-startup
  :type 'boolean)