[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
1 changed files with 1 additions and 1 deletions

View File

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