summaryrefslogtreecommitdiff
path: root/lisp/generic-x.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/generic-x.el')
-rw-r--r--lisp/generic-x.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index fbabf6e6996..7b65f07e2c1 100644
--- a/lisp/generic-x.el
+++ b/lisp/generic-x.el
@@ -524,6 +524,8 @@ like an INI file. You can add this hook to `find-file-hook'."
(defvar bat-generic-mode-keymap (make-sparse-keymap)
"Keymap for `bat-generic-mode'.")
+(declare-function w32-shell-name "w32-fns" ())
+
(defun bat-generic-mode-compile ()
"Run the current BAT file in a compilation buffer."
(interactive)