Skip to content

Commit 9239745

Browse files
authored
Merge pull request #532 from jroimartin/rust-mode-interactive
Allow autoloaded rust-mode function to be called interactively
2 parents 825a37d + 3f6ee21 commit 9239745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: rust-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ instead of `prog-mode'. This option requires emacs29+."
7676
(require 'rust-prog-mode))
7777

7878
;;;###autoload
79-
(autoload 'rust-mode "rust-mode" "Major mode for Rust code.")
79+
(autoload 'rust-mode "rust-mode" "Major mode for Rust code." t)
8080

8181
;;;###autoload
8282
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))

0 commit comments

Comments
 (0)