summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-09-30 10:59:48 +0200
committerfpi2020-09-30 11:00:21 +0200
commit6517bb2063a7a537588925f7d6fb8346fb73bc5a (patch)
tree2156909eee27e3e5f305f330413858e134c5501e
parentDisable auto-fill-mode in message-mode (diff)
Add spice-mode to auto-mode-alist
Diffstat (limited to '')
-rw-r--r--emacs-init.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs-init.org b/emacs-init.org
index df2f765..737c385 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -5135,7 +5135,10 @@ I use =msmtp= to send mail.
(use-package mm-decode
:config
(use-package spice-mode
- :straight t)
+ :straight t
+ :config
+ (add-to-list 'auto-mode-alist '("\\.cir$" . spice-mode))
+ (add-to-list 'auto-mode-alist '("\\.scs$" . spice-mode)))
(defun mm-display-spice-inline (handle)
"Show an spice mode text from HANDLE inline."
(mm-display-inline-fontify handle 'spice-mode))