+2002-11-16 Edward M. Reingold <reingold@emr.cs.iit.edu>
+
+ * calendar/diary-lib.el (make-diary-entry): Allow for local variables
+ at end of diary file.
+
2002-11-16 Ivan Zakharyaschev <imz@altlinux.org> (tiny change)
* international/codepage.el (cp866-decode-table): Fix the
If omitted, NONMARKING defaults to nil and FILE defaults to diary-file."
(find-file-other-window
(substitute-in-file-name (if file file diary-file)))
+ (widen)
(goto-char (point-max))
+ (when (let ((case-fold-search t))
+ (search-backward "Local Variables:"
+ (max (- (point-max) 3000) (point-min))
+ t))
+ (beginning-of-line)
+ (insert "\n")
+ (previous-line 1))
(insert
(if (bolp) "" "\n")
(if nonmarking diary-nonmarking-symbol "")