From 4c99289c01757ff31ff954cc5d241ea998ca6877 Mon Sep 17 00:00:00 2001 From: Ray Miller Date: Sat, 26 Apr 2025 12:21:03 +0100 Subject: [PATCH] Remove doom emacs custom.el from home config Certain emacs commands update this file which is not possible when it's a symling to the read-only file in the gnu store. --- dotfiles/emacs/.config/doom/custom.el | 64 --------------------------- 1 file changed, 64 deletions(-) delete mode 100644 dotfiles/emacs/.config/doom/custom.el diff --git a/dotfiles/emacs/.config/doom/custom.el b/dotfiles/emacs/.config/doom/custom.el deleted file mode 100644 index edb4d4b..0000000 --- a/dotfiles/emacs/.config/doom/custom.el +++ /dev/null @@ -1,64 +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. - '(denote-directory "/home/ray/Workspace/personal/notes") - '(safe-local-variable-values - '((eval progn - (require 'lisp-mode) - (defun emacs27-lisp-fill-paragraph - (&optional justify) - (interactive "P") - (or - (fill-comment-paragraph justify) - (let - ((paragraph-start - (concat paragraph-start "\\|\\s-*\\([(;\"]\\|\\s-:\\|`(\\|#'(\\)")) - (paragraph-separate - (concat paragraph-separate "\\|\\s-*\".*[,\\.]$")) - (fill-column - (if - (and - (integerp emacs-lisp-docstring-fill-column) - (derived-mode-p 'emacs-lisp-mode)) - emacs-lisp-docstring-fill-column fill-column))) - (fill-paragraph justify)) - t)) - (setq-local fill-paragraph-function #'emacs27-lisp-fill-paragraph)) - (eval modify-syntax-entry 43 "'") - (eval modify-syntax-entry 36 "'") - (eval modify-syntax-entry 126 "'") - (geiser-repl-per-project-p . t) - (eval with-eval-after-load 'yasnippet - (let - ((guix-yasnippets - (expand-file-name "etc/snippets/yas" - (locate-dominating-file default-directory ".dir-locals.el")))) - (unless - (member guix-yasnippets yas-snippet-dirs) - (add-to-list 'yas-snippet-dirs guix-yasnippets) - (yas-reload-all)))) - (eval with-eval-after-load 'tempel - (if - (stringp tempel-path) - (setq tempel-path - (list tempel-path))) - (let - ((guix-tempel-snippets - (concat - (expand-file-name "etc/snippets/tempel" - (locate-dominating-file default-directory ".dir-locals.el")) - "/*.eld"))) - (unless - (member guix-tempel-snippets tempel-path) - (add-to-list 'tempel-path guix-tempel-snippets)))) - (eval setq-local guix-directory - (locate-dominating-file default-directory ".dir-locals.el")) - (eval add-to-list 'completion-ignored-extensions ".go")))) -(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. - )