Skip to content

Commit

Permalink
Merge pull request #532 from jroimartin/rust-mode-interactive
Browse files Browse the repository at this point in the history
Allow autoloaded rust-mode function to be called interactively
  • Loading branch information
psibi committed Mar 12, 2024
2 parents 825a37d + 3f6ee21 commit 9239745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-mode.el
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 9239745

Please sign in to comment.