]> git.eshelyaron.com Git - emacs.git/commitdiff
Set the auto-add-method to always during test
authorzappo <zappo@users.sourceforge.net>
Thu, 12 Mar 2009 02:06:02 +0000 (02:06 +0000)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 16:38:43 +0000 (18:38 +0200)
steps

* test/manual/cedet/cedet-integ-test.el
 (cit-remove-add-to-project-cpp): Set auto-add-method to always during
 step test.

test/manual/cedet/cedet-integ-test.el

index bac2624e98e2e210ac12b7359bc91031cb24f922..ec74c45e93b35dede35d91b425e4874706be947d 100644 (file)
   ;; 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*"))))