summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJed Davis <jld@panix.com>2013-02-10 11:16:54 -0800
committerJed Davis <jld@panix.com>2013-03-08 12:51:16 -0800
commit7b320664633b96edab3f7c3258f2f2deaf8f5a89 (patch)
tree40e0a17f8329c678be6c83f617efc7e0cc56bf1a
parent8f926be7c49ea4664392ff16163d94d54bc77e4b (diff)
downloadrust-mode-7b320664633b96edab3f7c3258f2f2deaf8f5a89.tar.gz
rust-mode.el uses the 'cl macros, so it should actually require them
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.
-rw-r--r--rust-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust-mode.el b/rust-mode.el
index 5a6acba..f81f6bb 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -7,6 +7,7 @@
(require 'cm-mode)
(require 'cc-mode)
+(eval-when-compile (require 'cl))
(defun rust-electric-brace (arg)
(interactive "*P")