aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2015-06-15 20:46:01 -0400
committerGlenn Morris2015-06-15 20:46:01 -0400
commit6ebbc2f69825e9fdc5a5658047469ad541cf3dce (patch)
tree2b5c9c2626ad597ce8c8904f3026cfd4904ea976 /doc
parentc57b0e4b243a7a4a92549e833c7266b0be39f906 (diff)
downloademacs-6ebbc2f69825e9fdc5a5658047469ad541cf3dce.tar.gz
emacs-6ebbc2f69825e9fdc5a5658047469ad541cf3dce.zip
* lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
* doc/emacs/calendar.texi (Diary, Format of Diary File): Update for above diary-file change. : * etc/NEWS: Mention this.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/calendar.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/emacs/calendar.texi b/doc/emacs/calendar.texi
index 03a484b338d..93671364a88 100644
--- a/doc/emacs/calendar.texi
+++ b/doc/emacs/calendar.texi
@@ -925,8 +925,9 @@ events for today, for the immediate future, or for any specified
925date. 925date.
926 926
927 The name of the diary file is specified by the variable 927 The name of the diary file is specified by the variable
928@code{diary-file}; @file{~/diary} is the default. Here's an example 928@code{diary-file}. The default is @file{~/.emacs.d/diary}, though for
929showing what that file looks like: 929compatibility with older versions Emacs will use @file{~/diary} if it
930exists. Here's an example showing what the file looks like:
930 931
931@example 932@example
93212/22/2012 Twentieth wedding anniversary!! 93312/22/2012 Twentieth wedding anniversary!!
@@ -1068,11 +1069,10 @@ diary-mail-entries}. A prefix argument specifies how many days
1068@vindex diary-file 1069@vindex diary-file
1069 Your @dfn{diary file} is a file that records events associated with 1070 Your @dfn{diary file} is a file that records events associated with
1070particular dates. The name of the diary file is specified by the 1071particular dates. The name of the diary file is specified by the
1071variable @code{diary-file}; @file{~/diary} is the default. The 1072variable @code{diary-file}. The @code{calendar} utility program
1072@code{calendar} utility program supports a subset of the format allowed 1073supports a subset of the format allowed by the Emacs diary facilities,
1073by the Emacs diary facilities, so you can use that utility to view the 1074so you can use that utility to view the diary file, with reasonable
1074diary file, with reasonable results aside from the entries it cannot 1075results aside from the entries it cannot understand.
1075understand.
1076 1076
1077 Each entry in the diary file describes one event and consists of one 1077 Each entry in the diary file describes one event and consists of one
1078or more lines. An entry always begins with a date specification at the 1078or more lines. An entry always begins with a date specification at the