commit 4aefd6295d3df52a9b5af4e10077e3b2062804b5
parent 088b514daa8c33d7854cffbd926690dc538d7b8a
Author: Ethan Long <me@ethandl.dev>
Date: Mon, 29 Jun 2026 21:21:23 +1000
Got rid of Windows NT warnings about nativecomp
Wow NT is truly something
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/config.org b/config.org
@@ -678,6 +678,15 @@ My work PC has a lower resolution screen, so I like to have smaller fonts so tha
(setq ethandl/org-default-font-height 110)
(ethandl/org-set-font-vars)
#+end_src
+** Windows
+Windows is a very feculant platform to deal with, as almost nothing works as you would expect.
+
+Firstly, there is no ~nativecomp~, so we have to redefine the function to be a no-op or everything will break:
+#+begin_src emacs-lisp :tangle (if (eq system-type 'windows-nt) "platform-config/windows.el" "no")
+ (defun ethandl/nativecomp-aot ()
+ (interactive)
+ (lwarn '(windows-is-shit) :debug "Nativecomp not supported on Windows NT. Use a real OS"))
+#+end_src
** Including the platforms
Finally, we include any tangled platforms:
#+begin_src emacs-lisp