Use :custom instead of :config

This commit is contained in:
Marcus Kammer 2021-06-07 18:33:32 +02:00
parent 75e86d6b45
commit 4fad03e5cb

View file

@ -263,26 +263,25 @@
(use-package slime-company (use-package slime-company
:after (slime company) :after (slime company)
:config (setq slime-company-after-completion 'slime-company-just-one-space)) :custom (slime-company-after-completion 'slime-company-just-one-space))
(use-package erc (use-package erc
:config :custom
(setq erc-track-shorten-start 8 (erc-track-shorten-start 8)
erc-kill-buffer-on-part t (erc-kill-buffer-on-part t)
erc-auto-query 'bury (erc-auto-query 'bury)
erc-hide-list '("JOIN" "PART" "QUIT") (erc-hide-list '("JOIN" "PART" "QUIT"))
erc-network-hide-list '(("irc.libera.chat" "JOIN" "PART" "QUIT")) (erc-network-hide-list '(("irc.libera.chat" "JOIN" "PART" "QUIT")))
erc-channel-hide-list '(("#emacs" "JOIN" "PART" "QUIT")) (erc-channel-hide-list '(("#emacs" "JOIN" "PART" "QUIT")))
erc-rename-buffers t (erc-rename-buffers t)
erc-autojoin-channels-alist '(("libera.chat" "#emacs" "#commonlisp")) (erc-autojoin-channels-alist '(("libera.chat" "#emacs" "#commonlisp")))
erc-interpret-mirc-color t (erc-interpret-mirc-color t)
erc-modules '(autojoin button completion fill irccontrols list match menu move-to-prompt netsplit networks noncommands notifications readonly ring stamp track truncate))) (erc-modules '(autojoin button completion fill irccontrols list match menu move-to-prompt netsplit networks noncommands notifications readonly ring stamp track truncate)))
(use-package erc-image (use-package erc-image
:after erc :after erc
:config :custom (erc-image-inline-rescale 300)
(setq erc-image-inline-rescale 300) :config (add-to-list 'erc-modules 'image))
(add-to-list 'erc-modules 'image))
(use-package emojify (use-package emojify
:hook (erc-mode . emojify-mode) :hook (erc-mode . emojify-mode)
@ -291,5 +290,4 @@
(use-package rust-mode) (use-package rust-mode)
(use-package org-web-tools (use-package org-web-tools
:config :custom (org-web-tools-pandoc-sleep-time 0.4))
(setq org-web-tools-pandoc-sleep-time 0.4))