| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/progmodes/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313#\207" [custom-declare-group bat-mode nil "Major mode for editing DOS/Windows batch files." :link (custom-group-link :tag "Font Lock Faces group" font-lock-faces) :group languages custom-declare-face bat-label-face ((t :weight bold)) "Font Lock mode face used to highlight labels in batch files."] 8)
(defvar bat-font-lock-keywords '(("\\_<\\(call\\|goto\\)\\_>[ ]+%?\\([A-Za-z0-9_\\:.-]+\\)%?" (2 font-lock-constant-face t)) ("^:[^:].*" quote bat-label-face) ("\\_<\\(defined\\|set\\)\\_>[ ]*\\(\\(\\sw\\|\\s_\\)+\\)" (2 font-lock-variable-name-face)) ("%~\\([0-9]\\)" (1 font-lock-variable-name-face)) ("%\\([^%~ \n]+\\)%?" (1 font-lock-variable-name-face)) ("!\\([^!%~ \n]+\\)!?" (1 font-lock-variable-name-face)) ("%%\\(?:~[adfnpstxz]*\\(?:\\$\\(\\(?:\\sw\\|\\s_\\|_\\)+\\):\\)?\\)?\\([]!#$&-:?-[_-{}~]\\)" (1 font-lock-variable-name-face nil t) (2 font-lock-variable-name-face)) ("[ =][-/]+\\(\\w+\\)" (1 font-lock-type-face append)) ("\\_<\\(?:a\\(?:ssoc\\|t\\(?:trib\\)?\\)\\|c\\(?:d\\|ls\\|o\\(?:lor\\|py\\)\\)\\|d\\(?:ate\\|el\\|ir\\|oskey\\)\\|e\\(?:cho\\|ndlocal\\|rase\\)\\|f\\(?:c\\|ind\\(?:str\\)?\\|ormat\\|type\\)\\|label\\|m\\(?:d\\|kdir\\|o\\(?:[rv]e\\)\\)\\|net\\|p\\(?:a\\(?:th\\|use\\)\\|opd\\|rompt\\|ushd\\)\\|r\\(?:d\\|e\\(?:n\\(?:ame\\)?\\|place\\)\\|mdir\\)\\|s\\(?:et\\(?:local\\)?\\|\\(?:hif\\|or\\|ubs\\)t\\)\\|t\\(?:\\(?:i\\(?:m\\|tl\\)\\|re\\|yp\\)e\\)\\|v\\(?:er\\|ol\\)\\|xcopy\\)\\_>" . font-lock-builtin-face) ("\\_<\\(?:c\\(?:all\\|md\\)\\|d\\(?:efined\\|o\\)\\|e\\(?:lse\\|qu\\|xi\\(?:s?t\\)\\)\\|for\\|g\\(?:eq\\|oto\\|tr\\)\\|i[fn]\\|l\\(?:eq\\|ss\\)\\|n\\(?:eq\\|ot\\)\\|start\\)\\_>" . font-lock-keyword-face) ("\\_<\\(?:bash\\|c\\(?:at\\|p\\)\\|fgrep\\|grep\\|ls\\|mv\\|rm\\|s\\(?:ed\\|h\\)\\)\\_>" . font-lock-warning-face)))
(defvar bat-menu '("Bat" ["Run" bat-run :help "Run script"] ["Run with Args" bat-run-args :help "Run script with args"] "--" ["Imenu" imenu :help "Navigate with imenu"] "--" ["Template" bat-template :help "Insert template"] "--" ["Help (Command)" bat-cmd-help :help "Show help page for DOS command"]))
(defvar bat-mode-map (byte-code "\301 \302\303\303$\210\304\305\306#\210\304\307\310#\210\304\311\312#\210\304\313\314#\210\304\315\312#\210\207" [bat-menu make-sparse-keymap easy-menu-do-define nil define-key [3 67108911] bat-cmd-help [3 1] bat-run-args [3 3] bat-run [3 20] bat-template [3 22]] 6))
(defvar bat-mode-syntax-table (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\307#\210\301\313\307#\210\301\314\307#\210\301\315\307#\210\301\316\311#\210\301\317\311#\210\207" [make-syntax-table modify-syntax-entry 10 ">" 34 "\"" 126 "_" 37 "." 45 95 123 125 92 61] 5))
(defconst bat--syntax-propertize #[514 "b\210`W\205\"