syscfg/emacs/module/module-python.el

20 lines
428 B
EmacsLisp

;;; module-python.el --- code that eats itself -*- lexical-binding: t; -*-
;;;
;;; Commentary:
;;;
;;; Add python language support to Emacs.
;;;
;;; Code:
(require 'module-pkg)
(pkg/require-defer 'python-mode)
(pkg/require-defer 'python-environment)
(add-to-list 'auto-mode-alist '("\\.py$" . python-mode))
(add-to-list 'auto-mode-alist '("BUILD\\'" . python-mode))
(provide 'module-python)
;;; module-python.el ends here.