From aaa66e4ee6391cf7780ed526bd4874437600e684 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 9 Nov 2018 11:34:06 -0500 Subject: [PATCH] remove mmm-mode config, as I no longer use it --- .emacs.d/init.el | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0d6be54..b3795a2 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -680,23 +680,6 @@ pkgbuild-user-mail-address "contact@adamgoldsmith.name" pkgbuild-makepkg-command "PKGEXT='.pkg.tar' makepkg -mf")) -(use-package mmm-mode - :config - (mmm-add-classes - '((latex-python - :submode python-mode -; :creation-hook (lambda () (local-set-key (kbd "C-z") 'latex-save-and-compile)) - :face mmm-code-submode-face - :front "\\\\begin{python}\n" - :back "\\\\end{python}$"))) - (mmm-add-mode-ext-class 'latex-mode nil 'latex-python) - (defun python-shell-send-overlay () - (interactive) - (python-shell-send-region (previous-overlay-change (point)) (next-overlay-change (point)))) - (add-hook 'mmm-python-submode-hook - (lambda () - (local-set-key (kbd "C-c C-c") 'python-shell-send-overlay)))) - (use-package qml-mode :mode "\\.qml\\'")