Commit 81ced43d authored by Stephen Berman's avatar Stephen Berman Committed by Glenn Morris

diary-lib fix for bug#7536.

* lisp/calendar/diary-lib.el (diary-list-sexp-entries):
Handle case of no newline at end of file.
parent b2364eaa
2010-12-09 Stephen Berman <stephen.berman@gmx.net>
* calendar/diary-lib.el (diary-list-sexp-entries):
Handle case of no newline at end of file. (Bug#7536)
2010-12-09 Glenn Morris <rgm@gnu.org>
* mail/smtpmail.el (smtpmail-send-it): Revert previous change.
......
......@@ -1744,7 +1744,7 @@ best if they are non-marking."
(forward-line 1)
(while (looking-at "[ \t]")
(forward-line 1))
(backward-char 1)
(if (bolp) (backward-char 1))
(setq entry (buffer-substring-no-properties entry-start (point))))
(setq diary-entry (diary-sexp-entry sexp entry date)
literal entry ; before evaluation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment