]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix interactive unit tests.
authorDavid Engster <dengste@eml.cc>
Sun, 27 Nov 2011 19:04:01 +0000 (20:04 +0100)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 15:59:25 +0000 (17:59 +0200)
* pulse-utest.el (pulse-test): Use normal overlay functions.

* cedet-utests.el (chart): Require.

test/manual/cedet/pulse-utest.el

index 6d838f264e5f26d955814721418cfc558bd05737..46cd1497f74abe9d26735f401503331eff43b913 100644 (file)
@@ -62,11 +62,11 @@ When optional NO-ERROR Don't throw an error if we can't run tests."
                   (when (not (eobp))
                     (forward-char 1))
                   (point)))
-           (o (pulse-make-overlay start end))
+           (o (make-overlay start end))
            )
       (pulse-momentary-highlight-overlay o)
-      (if (pulse-overlay-live-p o)
-          (pulse-overlay-delete o)
+      (if (overlay-buffer o)
+          (delete-overlay o)
         (error "Non-temporary overlay was deleted!"))
       )
     (when (cedet-called-interactively-p)