;;; my-lang-python.el --- Configures emacs for python -*- lexical-binding: t -*- ;; Author: Franck Cuny ;;; Commentary: ;;; Code: (require 'python) (require 'python-mode) ;; if black is present, enable it (when (executable-find "black") (require 'blacken) (add-hook 'python-mode-hook 'blacken-mode)) (setq python-shell-interpreter "python3") (provide 'my-lang-python) ;;; my-lang-python.el ends here