]> git.eshelyaron.com Git - emacs.git/commitdiff
Use lexical-binding in files-x-tests.el
authorStefan Kangas <stefan@marxist.se>
Wed, 21 Oct 2020 11:25:39 +0000 (13:25 +0200)
committerStefan Kangas <stefan@marxist.se>
Wed, 21 Oct 2020 11:25:39 +0000 (13:25 +0200)
* test/lisp/files-x-tests.el: Use lexical-binding.
(remote-null-device): Declare.

test/lisp/files-x-tests.el

index d3ed4b5312cbd23dd52f9b34332a15efaa5f9ca0..9db198384d018a87b1e7cd812159d60d20c1790e 100644 (file)
@@ -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)