From 69a12a3d4aef23980aaafe904fde4e94920ce00b Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 12 Dec 2021 15:06:00 +0100 Subject: [PATCH] [Emacs] Fix automatic mode for Rustic --- org/config/emacs.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index ed22399..74bafc9 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -5929,7 +5929,7 @@ development. First, let’s 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)