From a06bb224441f884447bc3095dea571b0594bcd7c Mon Sep 17 00:00:00 2001 From: Willem van den Ende Date: Tue, 3 Nov 2026 12:24:39 +0000 Subject: [PATCH] chore: adopt mac .gitignore; stop tracking custom.el custom.el is written by Emacs itself (customize-set-variable) and was committed on 2024-07-30 by accident. Upstream mac repo dropped it in e8df0c9; adopting the same rule here so it can never come back. Also ignores config-local.el (per-machine backends/paths, template in config-local.example.el) and stale *.elc. --- .gitignore | 12 ++++++++++++ custom.el | 19 ------------------- 2 files changed, 12 insertions(+), 19 deletions(-) create mode 100644 .gitignore delete mode 100644 custom.el diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..146773b --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +/README.tex +custom.el +flycheck* +config-local.el + +# stale byte-compiled files shadow newer sources on load +*.elc + +# pi coding agent: track the dir, but not its local logs +.pi/*.log + +transcripts/ diff --git a/custom.el b/custom.el deleted file mode 100644 index f48925a..0000000 --- a/custom.el +++ /dev/null @@ -1,19 +0,0 @@ -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(safe-local-variable-values - '((qwan-markdown-attachment-dir . "/Users/willem/dev/elixir/firehose/app/priv/static/images/blog/2026") - (qwan-markdown-attachment-dir . "app/priv/static/images/blog/2026") - (eval setq-local org-roam-db-location - (expand-file-name "org-roam.db" org-roam-directory)) - (eval setq-local org-roam-directory - (expand-file-name - (locate-dominating-file default-directory ".dir-locals.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. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - )