summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rust-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 70c2a2c..ec1ecba 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -76,6 +76,9 @@ instead of `prog-mode'. This option requires emacs29+."
(require 'rust-prog-mode))
;;;###autoload
+(autoload 'rust-mode "rust-mode" "Major mode for Rust code.")
+
+;;;###autoload
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
(provide 'rust-mode)