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.
This commit is contained in:
Willem van den Ende
2026-11-03 12:24:39 +00:00
parent 7ebcc48e33
commit a06bb22444
2 changed files with 12 additions and 19 deletions
+12
View File
@@ -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/
-19
View File
@@ -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.
)