summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <dominik@science.uva.nl>2005-04-05 10:08:11 +0000
committerCarsten Dominik <dominik@science.uva.nl>2005-04-05 10:08:11 +0000
commitc52dbe8c62f58eb4e1f0a86b16beb10ac873cea4 (patch)
treec05326924da4233ebf01062663c3ee9f3d7f49ec
parentda659ce6a827bc071009848820842e24dc876997 (diff)
downloademacs-c52dbe8c62f58eb4e1f0a86b16beb10ac873cea4.tar.gz
(org-diary-default-entry): Fixed call to
`add-to-diary-entry'.
-rw-r--r--lisp/textmodes/org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el
index 86406d37475..06d4e697d55 100644
--- a/lisp/textmodes/org.el
+++ b/lisp/textmodes/org.el
@@ -279,7 +279,7 @@ the following lines anywhere in the buffer:
: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 @@ date."
(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'.