1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

Silence icalendar-tests.el compilation

* test/automated/icalendar-tests.el (icalendar-tests--do-test-cycle):
Use with-current-buffer.
This commit is contained in:
Glenn Morris 2013-07-11 08:57:45 -07:00
parent 7faba176ba
commit a550ba3359
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2013-07-11 Glenn Morris <rgm@gnu.org>
* automated/icalendar-tests.el (icalendar-tests--do-test-cycle):
Use with-current-buffer.
* automated/undo-tests.el (undo-test-buffer-modified)
(undo-test-file-modified): New tests.

View File

@ -1194,8 +1194,7 @@ Argument INPUT icalendar event string."
(should (string= org-input cycled)))))
;; clean up
(kill-buffer (find-buffer-visiting temp-diary))
(save-excursion
(set-buffer (find-buffer-visiting temp-ics))
(with-current-buffer (find-buffer-visiting temp-ics)
(set-buffer-modified-p nil)
(kill-buffer (current-buffer)))
(delete-file temp-diary)