From: zappo Date: Thu, 12 Mar 2009 02:06:02 +0000 (+0000) Subject: Set the auto-add-method to always during test X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e076b3619103d7a9aa5b8fe7e1097f7be6cb3ad3;p=emacs.git Set the auto-add-method to always during test steps * test/manual/cedet/cedet-integ-test.el (cit-remove-add-to-project-cpp): Set auto-add-method to always during step test. --- diff --git a/test/manual/cedet/cedet-integ-test.el b/test/manual/cedet/cedet-integ-test.el index bac2624e98e..ec74c45e93b 100644 --- a/test/manual/cedet/cedet-integ-test.el +++ b/test/manual/cedet/cedet-integ-test.el @@ -111,10 +111,8 @@ ;; Do a EDE GNUstep-Make Project (make-directory (concat cedet-integ-target "_ede_GSMake") t) (find-file (expand-file-name "README" (concat cedet-integ-target "_ede_GSMake"))) ;; only to change dir - (setq oldval ede-auto-add-method - ede-auto-add-method 'always) - (cit-ede-step-test) - (setq ede-auto-add-method oldval) + (let ((ede-auto-add-method 'always)) + (cit-ede-step-test)) ;; Leave a message (let ((b (set-buffer (get-buffer-create "*PASSED*"))))