share/emacs/lisp/environment-modules-init.el
raw| 1 | ;;; environment-modules-init.el --- Autoload modulefile-mode -*- lexical-binding: t; -*- |
| 2 | |
| 3 | ;;; Commentary: |
| 4 | ;; |
| 5 | ;; Activate modulefile-mode. Use first line of file to recognize file type. |
| 6 | |
| 7 | ;;; Code: |
| 8 | |
| 9 | (add-to-list 'magic-mode-alist '("#%Module" . modulefile-mode)) |
| 10 | |
| 11 | (autoload 'modulefile-mode "modulefile-mode" |
| 12 | "Major mode for editing Modulefile scripts." t) |
| 13 | |
| 14 | ;;; environment-modules-init.el ends here |