From: Andrea Zagli Date: Tue, 5 Dec 2017 07:31:59 +0000 (+0100) Subject: emacs_cross: problema in use-package. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=0aa89ffde62de68cf065a54eae063e07c685755e;p=msys2 emacs_cross: problema in use-package. --- 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