Skip to content

Commit d7bb42a

Browse files
committed
Fix undefined cl-macrorepxand-all under Emacs 24.4
Compilation is failing under Emacs 24.4 with the following error: Symbol's function definition is void: cl-macroexpand-all The problem appears to be due to Emacs bug #18845[1]. The gist of which is that cc-mode uses cl at compile time, but doesn't require it. Requiring cl at compile time seems to fix it. Fixes #9. [1] <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18845>
1 parent 609d9a9 commit d7bb42a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arduino-mode.el

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
(require 'cc-mode)
3333

3434
(eval-when-compile
35+
(require 'cl)
3536
(require 'cc-langs)
3637
(require 'cc-fonts)
3738
(require 'cc-menus))

0 commit comments

Comments
 (0)