diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/calendar/diary-lib.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4b81098fb9e..d8edf108bd2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-12-09 Stephen Berman <stephen.berman@gmx.net> | ||
| 2 | |||
| 3 | * calendar/diary-lib.el (diary-list-sexp-entries): | ||
| 4 | Handle case of no newline at end of file. (Bug#7536) | ||
| 5 | |||
| 1 | 2010-12-09 Glenn Morris <rgm@gnu.org> | 6 | 2010-12-09 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * mail/smtpmail.el (smtpmail-send-it): Revert previous change. | 8 | * mail/smtpmail.el (smtpmail-send-it): Revert previous change. |
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 219e489a2eb..899c142b75b 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -1744,7 +1744,7 @@ best if they are non-marking." | |||
| 1744 | (forward-line 1) | 1744 | (forward-line 1) |
| 1745 | (while (looking-at "[ \t]") | 1745 | (while (looking-at "[ \t]") |
| 1746 | (forward-line 1)) | 1746 | (forward-line 1)) |
| 1747 | (backward-char 1) | 1747 | (if (bolp) (backward-char 1)) |
| 1748 | (setq entry (buffer-substring-no-properties entry-start (point)))) | 1748 | (setq entry (buffer-substring-no-properties entry-start (point)))) |
| 1749 | (setq diary-entry (diary-sexp-entry sexp entry date) | 1749 | (setq diary-entry (diary-sexp-entry sexp entry date) |
| 1750 | literal entry ; before evaluation | 1750 | literal entry ; before evaluation |