diff options
| author | Sibi Prabakaran <sibi@psibi.in> | 2024-03-12 09:18:46 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-12 09:18:46 +0530 |
| commit | 825a37dbf7b3a5c2ee44e3707c4ad081fdf7dd15 (patch) | |
| tree | da732ab3dcf845c683a4f230562366d67ed623a6 /rust-mode.el | |
| parent | d8a09f218e24407acbc9f36c641be4f913f1a63c (diff) | |
| parent | db7d086233d7c37105ef39944f1b075e3a3dbe21 (diff) | |
| download | rust-mode-825a37dbf7b3a5c2ee44e3707c4ad081fdf7dd15.tar.gz | |
Merge pull request #530 from jroimartin/fix-rust-mode-autoload
Fix rust-mode lazy loading
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 3 |
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) |
