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.
This commit is contained in:
parent
95e519eb51
commit
4c99289c01
1 changed files with 0 additions and 64 deletions
|
@ -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.
|
|
||||||
)
|
|
Loading…
Add table
Reference in a new issue