]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix wdired test failure when byte compiled (bug#32318)
authorStephen Berman <stephen.berman@gmx.net>
Mon, 30 Jul 2018 22:42:52 +0000 (00:42 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Mon, 30 Jul 2018 22:42:52 +0000 (00:42 +0200)
* test/lisp/wdired-tests.el: Require wdired.  Defvar dired-query
to silence byte-compiler.

test/lisp/wdired-tests.el

index bf09d43ed73015e2ed82a6eb32cf11c05d954686..b4ef4ab24866bb57ec9ef95392d0a69c4832e597 100644 (file)
@@ -21,6 +21,9 @@
 
 (require 'ert)
 (require 'dired)
+(require 'wdired)
+
+(defvar dired-query)                    ; Pacify byte compiler.
 
 (ert-deftest wdired-test-bug32173-01 ()
   "Test using non-nil wdired-use-interactive-rename.