diff --git a/lisp/generic-x.el b/lisp/generic-x.el index 7b65f07e2c1..1dbacb929d6 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el @@ -443,6 +443,8 @@ like an INI file. You can add this hook to `find-file-hook'." '((nil "^\\s-*\\(.*\\)\\s-*=" 1)))))) "Generic mode for MS-Windows Registry files.")) +(declare-function w32-shell-name "w32-fns" ()) + ;;; DOS/Windows BAT files (when (memq 'bat-generic-mode generic-extras-enable-list) @@ -524,8 +526,6 @@ 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)