279 |
:group 'org-startup |
:group 'org-startup |
280 |
:type 'boolean) |
:type 'boolean) |
281 |
|
|
282 |
(defcustom org-insert-mode-line-in-empty-file t |
(defcustom org-insert-mode-line-in-empty-file nil |
283 |
"Non-nil means insert the first line setting Org-mode in empty files. |
"Non-nil means insert the first line setting Org-mode in empty files. |
284 |
When the function `org-mode' is called interactively in an empty, this |
When the function `org-mode' is called interactively in an empty, this |
285 |
normally means that the file name does not automatically trigger Org-mode. |
normally means that the file name does not automatically trigger Org-mode. |
3477 |
(defun org-diary-default-entry () |
(defun org-diary-default-entry () |
3478 |
"Add a dummy entry to the diary. |
"Add a dummy entry to the diary. |
3479 |
Needed to avoid empty dates which mess up holiday display." |
Needed to avoid empty dates which mess up holiday display." |
3480 |
(add-to-diary-list original-date "Org-mode dummy" "")) |
(add-to-diary-list original-date "Org-mode dummy" "" nil)) |
3481 |
|
|
3482 |
(defun org-add-file (&optional file) |
(defun org-add-file (&optional file) |
3483 |
"Add current file to the list of files in variable `org-agenda-files'. |
"Add current file to the list of files in variable `org-agenda-files'. |