emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode f462803531 1/2: rust-mode should be enabled auto


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode f462803531 1/2: rust-mode should be enabled automatically when opening .rs files
Date: Sat, 22 Jan 2022 10:58:28 -0500 (EST)

branch: elpa/rust-mode
commit f462803531fc66c8b3d2ad545d15335228a09b2e
Author: daniel-wong-dfinity-org 
<97631336+daniel-wong-dfinity-org@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    rust-mode should be enabled automatically when opening .rs files
---
 README.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/README.md b/README.md
index 920b37a0bf..aeeb987a1b 100644
--- a/README.md
+++ b/README.md
@@ -100,6 +100,7 @@ Clone this repository locally, and add this to your init.el:
 ``` elisp
 (add-to-list 'load-path "/path/to/rust-mode/")
 (autoload 'rust-mode "rust-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
 ```
 
 ## Feature guide



reply via email to

[Prev in Thread] Current Thread [Next in Thread]