+2013-02-03 Chong Yidong <cyd@gnu.org>
+
+ * automated/files.el (file-test--do-local-variables-test): Avoid
+ compilation warning message.
+
2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
* automated/ruby-mode-tests.el
;; Set to t if the local variable was set, `query' if the query was
;; triggered.
-(defvar files-test-result)
+(defvar files-test-result nil)
-(defvar files-test-safe-result)
+(defvar files-test-safe-result nil)
(put 'files-test-safe-result 'safe-local-variable 'booleanp)
(defun files-test-fun1 ()
(defun file-test--do-local-variables-test (str test-settings)
(with-temp-buffer
(insert str)
+ (setq files-test-result nil
+ files-test-safe-result nil)
(let ((enable-local-variables (nth 0 test-settings))
(enable-local-eval (nth 1 test-settings))
- (files-test-result nil)
- (files-test-queried nil)
- (files-test-safe-result nil))
+ (files-test-queried nil))
(hack-local-variables)
(eval (nth 2 test-settings)))))