From 841801059f021666315f072e1e02cfc8269663ba Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 19 Jul 2018 23:22:22 -0700 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20compile=20oni-windows-nt.el=20o?= =?UTF-8?q?n=20non-windows=20systems?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emacs/.emacs.d/init.el | 1 + emacs/.emacs.d/{site-lisp => os-lisp}/oni-windows-nt.el | 0 emacs/.emacs.d/windows.mk | 3 +++ 3 files changed, 4 insertions(+) rename emacs/.emacs.d/{site-lisp => os-lisp}/oni-windows-nt.el (100%) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index fc696d4..445e2f7 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -36,6 +36,7 @@ (format "%svendor-lisp/" load-directory) t "^[^.]")) (add-to-list 'load-path (format "%ssite-lisp/" load-directory)) + (add-to-list 'load-path (format "%sos-lisp/" load-directory)) (let ((loaddefs (format "%ssite-lisp/site-autoloads.el" load-directory))) (when (file-exists-p loaddefs) diff --git a/emacs/.emacs.d/site-lisp/oni-windows-nt.el b/emacs/.emacs.d/os-lisp/oni-windows-nt.el similarity index 100% rename from emacs/.emacs.d/site-lisp/oni-windows-nt.el rename to emacs/.emacs.d/os-lisp/oni-windows-nt.el diff --git a/emacs/.emacs.d/windows.mk b/emacs/.emacs.d/windows.mk index 0305935..45b2bd1 100755 --- a/emacs/.emacs.d/windows.mk +++ b/emacs/.emacs.d/windows.mk @@ -5,6 +5,9 @@ BASE_DIR := $(subst \,/,$(shell cygpath -w $(CURDIR))) .PHONY: install +SITE_LISPS := $(SITE_LISPS) os-lisp/oni-windows-nt.el +COMPILED_SITE_LISPS := $(COMPILED_SITE_LISPS) os-lisp/oni-windows-nt.elc + ALL_LISPS := init.el init.elc $(SITE_LISPS) $(COMPILED_SITE_LISPS) \ $(INIT_LISPS) $(COMPILED_INIT_LISPS) $(AUTOLOADS_FILE)