summaryrefslogtreecommitdiff
path: root/test/lisp/files-x-tests.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-10-21 13:25:39 +0200
committerStefan Kangas <stefan@marxist.se>2020-10-21 13:25:39 +0200
commit95a458724dc9402cb35a6ed4a3eb571aada52348 (patch)
treece982b1f6365275006b4be4aee33d31d1e9d47e0 /test/lisp/files-x-tests.el
parent0e6f1e4e80006b03bc85b50aa99b67b9d4c2dd9f (diff)
downloademacs-95a458724dc9402cb35a6ed4a3eb571aada52348.tar.gz
emacs-95a458724dc9402cb35a6ed4a3eb571aada52348.tar.bz2
emacs-95a458724dc9402cb35a6ed4a3eb571aada52348.zip
Use lexical-binding in files-x-tests.el
* test/lisp/files-x-tests.el: Use lexical-binding. (remote-null-device): Declare.
Diffstat (limited to 'test/lisp/files-x-tests.el')
-rw-r--r--test/lisp/files-x-tests.el3
1 files changed, 2 insertions, 1 deletions
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)