Move some package configuration to builtin section

This commit is contained in:
Daniel - 2023-01-21 11:06:22 +01:00
parent db381a428c
commit f762ed10de
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 19 additions and 17 deletions

36
init.el
View File

@ -469,6 +469,8 @@
;; * Basic Builtin Packages
;; All packages configured here should be part of Emacs core.
(use-package abbrev
:init (setq save-abbrevs 'silently
abbrev-file-name (expand-file-name "private/abbrev_defs"))
@ -531,6 +533,13 @@
diary-show-holidays-flag t
calendar-view-holidays-initially-flag nil))
(use-package dictionary
:init (setq dictionary-server "dict.org"))
(use-package eww
:init (setq eww-bookmarks-directory
(expand-file-name "private/" emacs-d)))
(use-package ffap
;; Inhibit Emacs from pinging hostnames; see
;; https://www.n16f.net/blog/investigating-a-ffap-issue-in-emacs/
@ -581,6 +590,13 @@
:commands (re-builder)
:init (setq reb-re-syntax 'string))
(use-package shr
:init (setq shr-use-fonts nil
shr-use-colors nil
shr-max-image-proportion 0.7
shr-image-animate nil
shr-width (current-fill-column)))
(use-package server
:commands (server-running-p server-start)
:init (setq server-log t))
@ -3027,8 +3043,8 @@ With given ARG, display files in `db/important-document-path."
;; * Various Mode Configurations
;; These are packages that are not essential, but still nice to have. They
;; provide optional functionality and may redefine builtin commands.
;; These are external packages that are not essential, but still nice to have.
;; They provide optional functionality and may redefine builtin commands.
(use-package cperl-mode
:ensure t
@ -3059,14 +3075,11 @@ With given ARG, display files in `db/important-document-path."
:ensure t
:commands (define-word-at-point define-word))
(use-package dictcc
(use-package dilctcc
:ensure t
:commands (dictcc)
:config (require 'gnutls))
(use-package dictionary
:init (setq dictionary-server "dict.org"))
(use-package edit-list
:ensure t
:commands edit-list)
@ -3085,10 +3098,6 @@ With given ARG, display files in `db/important-document-path."
#'(lambda ()
(eproject-mode -1))))))
(use-package eww
:init (setq eww-bookmarks-directory
(expand-file-name "private/" emacs-d)))
(use-package haskell-mode
:config (progn
(add-hook 'haskell-mode-hook 'haskell-doc-mode)
@ -3151,13 +3160,6 @@ With given ARG, display files in `db/important-document-path."
;; `pyvenv-deactivate', though.
(add-hook 'pyvenv-post-activate-hooks #'pyvenv-restart-python)))
(use-package shr
:init (setq shr-use-fonts nil
shr-use-colors nil
shr-max-image-proportion 0.7
shr-image-animate nil
shr-width (current-fill-column)))
(use-package sh-script
:init (setq sh-basic-offset 2))