From: Stefan Kangas Date: Wed, 21 Oct 2020 11:25:39 +0000 (+0200) Subject: Use lexical-binding in files-x-tests.el X-Git-Tag: emacs-28.0.90~5510 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=95a458724dc9402cb35a6ed4a3eb571aada52348;p=emacs.git Use lexical-binding in files-x-tests.el * test/lisp/files-x-tests.el: Use lexical-binding. (remote-null-device): Declare. --- diff --git a/test/lisp/files-x-tests.el b/test/lisp/files-x-tests.el index d3ed4b5312c..9db198384d0 100644 --- a/test/lisp/files-x-tests.el +++ b/test/lisp/files-x-tests.el @@ -1,4 +1,4 @@ -;;; files-x-tests.el --- tests for files-x.el. +;;; files-x-tests.el --- tests for files-x.el. -*- lexical-binding: t -*- ;; Copyright (C) 2016-2020 Free Software Foundation, Inc. @@ -35,6 +35,7 @@ '((remote-null-device . "/dev/null"))) (defconst files-x-test--variables4 '((remote-null-device . "null"))) +(defvar remote-null-device) (put 'remote-shell-file-name 'safe-local-variable #'identity) (put 'remote-shell-command-switch 'safe-local-variable #'identity) (put 'remote-shell-interactive-switch 'safe-local-variable #'identity)