blob: fba0503111e0e3517e056fce9ac4b81a7ec65d58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
post_install() {
cat <<EOF
==> Add this code to your Emacs init to use rust-mode:
(autoload 'rust-mode "rust-mode.el"
"Major mode for editing Rust files" nil t)
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
==> Add this code to ignore optional libraries:
(defvar rust-load-optional-libraries nil
"Whether loading 'rust-mode' also loads optional libraries.")
EOF
}
post_upgrade() {
post_install $1
}
|