summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index bbbb170..84f1356 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -11,7 +11,8 @@
 (require 'fcuny-vars)
 
 ;; where to store compiled files
-(add-to-list 'native-comp-eln-load-path (expand-file-name "eln-cache" fcuny/path-emacs-var))
+(when (boundp 'native-comp-eln-load-path)
+  (add-to-list 'native-comp-eln-load-path (expand-file-name "eln-cache" fcuny/path-emacs-var)))
 
 ;; where to store the packages
 (setq package-user-dir fcuny/path-emacs-elpa)