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:
parent
7faba176ba
commit
a550ba3359
@ -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.
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user