[Emacs] Fix automatic mode for Rustic

This commit is contained in:
Lucien Cartier-Tilet 2021-12-12 15:06:00 +01:00
parent b8ef56942e
commit 69a12a3d4a
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -5929,7 +5929,7 @@ development. First, lets install the most important package,
(use-package rustic (use-package rustic
:defer t :defer t
:straight (:build t) :straight (:build t)
:mode ("\\.rs$" . rustic-mode) :mode ("\\.rs\\'" . rustic-mode)
:init :init
(after! org-src (after! org-src
(defalias 'org-babel-execute:rust #'org-babel-execute:rustic) (defalias 'org-babel-execute:rust #'org-babel-execute:rustic)