From 7b65227fe1d31d96b09c8d0dacc4ca089ecb1538 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Thu, 12 Mar 2020 01:09:10 +0100 Subject: [PATCH] =?UTF-8?q?Recompile=20la=20configuration=20au=20d=C3=A9ma?= =?UTF-8?q?rrage=20si=20n=C3=A9cessaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init.el b/init.el index 1499562..ff42ce0 100644 --- a/init.el +++ b/init.el @@ -55,6 +55,12 @@ (byte-recompile-directory (expand-file-name "~/.emacs.d") 0) +;; Byte-compile again to ~/.emacs.elc if it is outdated +(if (file-newer-than-file-p + (file-truename "~/.emacs.d/init.el") + (file-truename "~/.emacs.d/init.elc")) + (byte-compile-file "~/.emacs.d/init.el")) + (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. -- GitLab