;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (require 'files) #@33 Regexp for nix-shell -i header. (defvar nix-shebang-interpreter-regexp "#! *nix-shell -i \\([^ \n]+\\)" (#$ . 104)) #@48 Get interpreter string from nix-shell -i file. (defalias 'nix-shebang-get-interpreter #[0 "\212eb\210\301y\210\302!\205\303\301!)\207" [nix-shebang-interpreter-regexp 1 looking-at match-string] 2 (#$ . 227)]) #@43 Detect and run file’s interpreter mode. (defalias 'nix-shebang-mode #[0 "\301 \211\205\302\303\304\"\305# \207" [interpreter-mode-alist nix-shebang-get-interpreter assoc-default mapcar #[257 "\300\301@\"AB\207" [format "\\`%s\\'"] 4 "\n\n(fn E)"] string-match-p] 6 (#$ . 445)]) (provide 'nix-shebang)