]> git.eshelyaron.com Git - emacs.git/commitdiff
Ensure that the correct buffer is active when
authorDavid Engster <dengste@eml.cc>
Thu, 23 Jun 2011 19:08:11 +0000 (21:08 +0200)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 17:43:15 +0000 (19:43 +0200)
getting the EDE object

* test/manual/cedet/cit-cpp.el: (cit-remove-and-do-shared-lib): Make
 sure we are in the right buffer before getting the current EDE
 object.

test/manual/cedet/cit-cpp.el

index 4956528432833e2b6aaa7a8485b65c18af100f28..4ad7c1c01bdacf01c6288b5e77925baab995ba49 100644 (file)
@@ -236,6 +236,7 @@ Create a new shared lib with bar.cpp in it."
   (cit-compile-and-wait)
 
   ;; Use the local libs version also to make sure it works.
+  (pop-to-buffer "main.cpp")
   (let ((mt ede-object))
     (if (string= make-type "Automake")
        (progn