emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113370: Silence icalendar-tests.el compilation


From: Glenn Morris
Subject: [Emacs-diffs] trunk r113370: Silence icalendar-tests.el compilation
Date: Thu, 11 Jul 2013 15:57:49 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113370
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2013-07-11 08:57:45 -0700
message:
  Silence icalendar-tests.el compilation
  
  * test/automated/icalendar-tests.el (icalendar-tests--do-test-cycle):
  Use with-current-buffer.
modified:
  test/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-8588
  test/automated/icalendar-tests.el 
icalendartestsuite.e-20091113204419-o5vbwnq5f7feedwu-8590
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog    2013-07-11 15:56:41 +0000
+++ b/test/ChangeLog    2013-07-11 15:57:45 +0000
@@ -1,5 +1,8 @@
 2013-07-11  Glenn Morris  <address@hidden>
 
+       * 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.
 

=== modified file 'test/automated/icalendar-tests.el'
--- a/test/automated/icalendar-tests.el 2013-01-01 09:11:05 +0000
+++ b/test/automated/icalendar-tests.el 2013-07-11 15:57:45 +0000
@@ -1194,8 +1194,7 @@
              (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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]