changeset 61312:6939a6683ac3

(org-diary-default-entry): Fixed call to `add-to-diary-entry'.
author Carsten Dominik <dominik@science.uva.nl>
date Tue, 05 Apr 2005 10:08:11 +0000
parents e768c2d3772a
children 6a71d7a62da3
files lisp/textmodes/org.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Tue Apr 05 10:07:51 2005 +0000
+++ b/lisp/textmodes/org.el	Tue Apr 05 10:08:11 2005 +0000
@@ -279,7 +279,7 @@
   :group 'org-startup
   :type 'boolean)
 
-(defcustom org-insert-mode-line-in-empty-file t
+(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, this
 normally means that the file name does not automatically trigger Org-mode.
@@ -3477,7 +3477,7 @@
 (defun org-diary-default-entry ()
   "Add a dummy entry to the diary.
 Needed to avoid empty dates which mess up holiday display."
-  (add-to-diary-list original-date "Org-mode dummy" ""))
+  (add-to-diary-list original-date "Org-mode dummy" "" nil))
 
 (defun org-add-file (&optional file)
   "Add current file to the list of files in variable `org-agenda-files'.