From 3f6ee2187bbb71fcad18e4db3e8c2b4d0100e6ad Mon Sep 17 00:00:00 2001 From: Roi Martin Date: Tue, 12 Mar 2024 06:57:44 +0100 Subject: Allow autoloaded rust-mode function to be called interactively --- rust-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-mode.el b/rust-mode.el index ec1ecba..292bc64 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -76,7 +76,7 @@ instead of `prog-mode'. This option requires emacs29+." (require 'rust-prog-mode)) ;;;###autoload -(autoload 'rust-mode "rust-mode" "Major mode for Rust code.") +(autoload 'rust-mode "rust-mode" "Major mode for Rust code." t) ;;;###autoload (add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode)) -- cgit v1.2.3