From 0aa89ffde62de68cf065a54eae063e07c685755e Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Tue, 5 Dec 2017 08:31:59 +0100 Subject: [PATCH] emacs_cross: problema in use-package. --- tools/emacs_cross | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/emacs_cross b/tools/emacs_cross index 7945acf..cdcdb34 100644 --- a/tools/emacs_cross +++ b/tools/emacs_cross @@ -23,7 +23,8 @@ (unless (package-installed-p 'use-package) (package-refresh-contents) - (package-install 'use-package)) + (package-install 'use-package) + (eval-when-compile (require 'use-package))) ;; path (if (eq system-type 'windows-nt) @@ -164,7 +165,7 @@ (use-package smart-tabs-mode :ensure t :config - (smart-tabs-insinuate 'c)) + (smart-tabs-insinuate 'c 'c++)) ;; sr-speedbar (use-package sr-speedbar -- 2.49.0