]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some XEmacs compat code from tests
authorStefan Kangas <stefan@marxist.se>
Wed, 13 Jan 2021 14:17:44 +0000 (15:17 +0100)
committerStefan Kangas <stefan@marxist.se>
Wed, 13 Jan 2021 14:18:21 +0000 (15:18 +0100)
* test/lisp/cedet/srecode-utest-getset.el
(srecode-utest-getset-output):
* test/lisp/cedet/srecode-utest-template.el
(srecode-utest-template-output): Remove XEmacs compat code.

test/lisp/cedet/srecode-utest-getset.el
test/lisp/cedet/srecode-utest-template.el

index 0497dea505d86aaff4fb41c4c442973372f22942..1c6578038c06c8087089e930e15a3301b7d7d357 100644 (file)
@@ -128,7 +128,6 @@ private:
        (srecode-utest-getset-jumptotag "miscFunction"))
 
       (let ((pos (point)))
-       (skip-chars-backward " \t\n") ; xemacs forward-comment is different.
        (forward-comment -1)
        (re-search-forward "miscFunction" pos))
 
index 57d8a648050bf6c7ed2d367e85143dac7b827180..f97ff18320e0b5c5dbe9123ae1487551826507a9 100644 (file)
@@ -307,13 +307,9 @@ INSIDE SECTION: ARG HANDLER ONE")
       (should (srecode-table major-mode))
 
       ;; Loop over the output testpoints.
-
       (dolist (p srecode-utest-output-entries)
-       (set-buffer testbuff) ;; XEmacs causes a buffer switch.  I don't know why
-       (should-not (srecode-utest-test p))
-       )
+        (should-not (srecode-utest-test p)))))
 
-      ))
   (when (file-exists-p srecode-utest-testfile)
     (delete-file srecode-utest-testfile)))