emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/rust-mode 9f9dec0 028/486: rust-mode.el uses the 'cl macro


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 9f9dec0 028/486: rust-mode.el uses the 'cl macros, so it should actually require them
Date: Sat, 7 Aug 2021 09:24:41 -0400 (EDT)

branch: elpa/rust-mode
commit 9f9dec0f835120026ad91b0589a4237b55195e85
Author: Jed Davis <jld@panix.com>
Commit: Jed Davis <jld@panix.com>

    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.
---
 rust-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rust-mode.el b/rust-mode.el
index d9ee135..ef98fa6 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]