branch: elpa/rust-mode
commit 9afe9972ca97eaa1fdeae86a691b2c448552843c
Author: Aankhen <[email protected]>
Commit: Aankhen <[email protected]>

    Declare `rust-buffer-project' and require `json' at runtime.
---
 rust-mode.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/rust-mode.el b/rust-mode.el
index 3d002f1..a1d98b0 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -16,12 +16,16 @@
 
 (eval-when-compile (require 'rx)
                    (require 'compile)
-                   (require 'url-vars)
-                   (require 'json))
+                   (require 'url-vars))
+
+(require 'json)
 
 (defvar electric-pair-inhibit-predicate)
 (defvar electric-indent-chars)
 
+(defvar rust-buffer-project)
+(make-variable-buffer-local 'rust-buffer-project)
+
 ;; for GNU Emacs < 24.3
 (eval-when-compile
   (unless (fboundp 'setq-local)

Reply via email to