From: Eric Ludlam Date: Sun, 20 Apr 2014 17:56:08 +0000 (-0400) Subject: Don't scan other files because Util.cc is already in a buffer X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=101da66be28d0627ed04bbdb2a5575becbd2b2cf;p=emacs.git Don't scan other files because Util.cc is already in a buffer * test/manual/cedet/cit-globalref.el (cit-globalref-test): Final test, Util.cc is already in a buffer, so we shouldn't scan any other files. --- diff --git a/test/manual/cedet/cit-globalref.el b/test/manual/cedet/cit-globalref.el index 50d1b75f9f2..cb5e3314c3f 100644 --- a/test/manual/cedet/cit-globalref.el +++ b/test/manual/cedet/cit-globalref.el @@ -141,8 +141,8 @@ (message "Jump to myUtilFunNoNS success.") ;; The only file it needed to find - (when (not (equal cit-globalref-file-log '("src/Util.cc"))) - (message "Too many files searched, should have only found src/Util.cc") + (when (not (equal cit-globalref-file-log nil)) ;; '("src/Util.cc"))) + (message "Too many files searched, should have found files in buffers.") (error "Found %S" cit-globalref-file-log)) ;; Debug reporting.