We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 028159e + 7e53af3 commit 002f791Copy full SHA for 002f791
src/etc/emacs/README.md
@@ -12,11 +12,12 @@ To install manually, check out this repository and add this to your
12
13
```lisp
14
(add-to-list 'load-path "/path/to/rust-mode/")
15
-(require 'rust-mode)
+(autoload 'rust-mode "rust-mode" nil t)
16
+(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
17
```
18
-`rust-mode` will automatically be associated with `.rs` files. To enable it
19
-explicitly, do <kbd>M-x rust-mode</kbd>.
+This associates `rust-mode` with `.rs` files. To enable it explicitly, do
20
+<kbd>M-x rust-mode</kbd>.
21
22
### `package.el` installation via Marmalade or MELPA
23
0 commit comments