mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
diary-lib fix for bug#7536.
* lisp/calendar/diary-lib.el (diary-list-sexp-entries): Handle case of no newline at end of file.
This commit is contained in:
parent
b2364eaaa8
commit
81ced43d17
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue