X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/d8fb8cce84b923a3289b69549e30958710ac3ebb..0877d0dc24ee792b9b14592869ea1aa0934aee58:/lisp/generic-x.el diff --git a/lisp/generic-x.el b/lisp/generic-x.el index e77cbe1eb1..d0250cb521 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)