From 8453f3110c7b84fe4a29c743b57f846fb5f654d3 Mon Sep 17 00:00:00 2001 From: Jed Davis Date: Sun, 10 Feb 2013 11:16:54 -0800 Subject: [PATCH] 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. --- src/etc/emacs/rust-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/src/etc/emacs/rust-mode.el b/src/etc/emacs/rust-mode.el index 5a6acbaddda..f81f6bb6181 100644 --- a/src/etc/emacs/rust-mode.el +++ b/src/etc/emacs/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")