From 5c40bc887a74718f5b16f604fa133d120a9c096c Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sun, 8 Mar 2026 00:10:56 -0800 Subject: fix emacs hopefully --- config/emacs.org | 1 + flake.nix | 2 +- nix | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/emacs.org b/config/emacs.org index f54e70e..0705af9 100644 --- a/config/emacs.org +++ b/config/emacs.org @@ -171,6 +171,7 @@ This is my org mode configuration, which also configures latex. '(("website-org" :base-directory "~/monorepo" :base-extension "org" + :exclude "nix/README\\.org" :publishing-directory "~/website_html" :with-author t :with-date t diff --git a/flake.nix b/flake.nix index d7d1c2a..c440935 100644 --- a/flake.nix +++ b/flake.nix @@ -195,6 +195,7 @@ emacs -q --batch \ --eval '(setq org-export-with-latex t)' \ --eval '(setq org-confirm-babel-evaluate nil)' \ --eval '(setq load-prefer-newer t)' \ + --eval '(setq gc-cons-threshold 100000000)' \ -l ${nixmacs}/init.el \ --eval '(setq custom-safe-themes t)' \ --eval "(org-babel-do-load-languages 'org-babel-load-languages '((latex . t)))" \ @@ -211,7 +212,6 @@ emacs -q --batch \ --eval '(setq vc-handled-backends nil)' \ --eval '(require (quote htmlize))' \ --eval '(require (quote nix-mode))' \ - --eval '(setq gc-cons-threshold 100000000)' \ --eval '(setq make-backup-files nil auto-save-default nil create-lockfiles nil)' \ --eval '(setq org-html-htmlize-output-type (quote css))' \ --eval '(setq org-html-head-extra "\n")' \ diff --git a/nix b/nix index 39253f6..7515c34 160000 --- a/nix +++ b/nix @@ -1 +1 @@ -Subproject commit 39253f6dd103a9c973e36fc08f90a73a696ff229 +Subproject commit 7515c347c91b007b9adafcc62066854dfda9c990 -- cgit v1.3