emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/merge-cedet-tests e076b36 177/316: Set the auto-ad


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests e076b36 177/316: Set the auto-add-method to always during test
Date: Sat, 28 Jan 2017 09:09:59 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit e076b3619103d7a9aa5b8fe7e1097f7be6cb3ad3
Author: zappo <address@hidden>
Commit: Edward John Steere <address@hidden>

    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.
---
 test/manual/cedet/cedet-integ-test.el |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/test/manual/cedet/cedet-integ-test.el 
b/test/manual/cedet/cedet-integ-test.el
index bac2624..ec74c45 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*"))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]