Skip to content

Commit 267f6c2

Browse files
committed
auto merge of #5285 : jld/rust/emacs-refix, r=brson
Without this change, rust-mode doesn't work if 'cl hasn't been required by something else, apparently. I'm not entirely sure what changed such that I started seeing this problem instead of not, but maybe the emacs world has been making progress towards not loading 'cl at runtime if it's only needed at compile time. (This change was previously submitted as e93a58d and accidentally reverted by ad8b437.)
2 parents a90551b + 8453f31 commit 267f6c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/etc/emacs/rust-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
(require 'cm-mode)
99
(require 'cc-mode)
10+
(eval-when-compile (require 'cl))
1011

1112
(defun rust-electric-brace (arg)
1213
(interactive "*P")

0 commit comments

Comments
 (0)