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.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index e77cbe1eb14..d0250cb5210 100644
--- a/lisp/generic-x.el
+++ b/lisp/generic-x.el
@@ -549,6 +549,9 @@ like an INI file. You can add this hook to `find-file-hook'."
(concat (w32-shell-name) " -c " (buffer-file-name)))))
(eval-when-compile (require 'comint))
+(declare-function comint-mode "comint" ())
+(declare-function comint-exec "comint" (buffer name command startfile switches))
+
(defun bat-generic-mode-run-as-comint ()
"Run the current BAT file in a comint buffer."
(interactive)