Skip to content

Commit

Permalink
Allow autoloaded rust-mode function to be called interactively
Browse files Browse the repository at this point in the history
  • Loading branch information
jroimartin committed Mar 12, 2024
1 parent 825a37d commit 3f6ee21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3f6ee21

Please sign in to comment.