* test/lisp/files-tests.el (sh-shell): Move down declaration.
This commit is contained in:
parent
78eb102bc3
commit
fb7bf20a9c
1 changed files with 2 additions and 2 deletions
|
@ -1659,8 +1659,6 @@ The door of all subtleties!
|
|||
(should (equal (file-name-base "foo") "foo"))
|
||||
(should (equal (file-name-base "foo/bar") "bar")))
|
||||
|
||||
(defvar sh-shell)
|
||||
|
||||
(defun files-tests--check-mode (filename)
|
||||
"Return the major mode found in `auto-mode-alist' for FILENAME."
|
||||
(set-auto-mode--find-matching-alist-entry
|
||||
|
@ -1682,6 +1680,8 @@ The door of all subtleties!
|
|||
(should-not (eq (files-tests--check-mode "gdbinit.5") #'gdb-script-mode))
|
||||
(should-not (eq (files-tests--check-mode ".gdbinit.py.in") #'gdb-script-mode)))
|
||||
|
||||
(defvar sh-shell)
|
||||
|
||||
(defun files-tests--check-shebang (shebang expected-mode &optional expected-dialect)
|
||||
"Assert that mode for SHEBANG derives from EXPECTED-MODE.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue