Move some package configuration to builtin section
This commit is contained in:
parent
db381a428c
commit
f762ed10de
36
init.el
36
init.el
|
@ -469,6 +469,8 @@
|
||||||
|
|
||||||
;; * Basic Builtin Packages
|
;; * Basic Builtin Packages
|
||||||
|
|
||||||
|
;; All packages configured here should be part of Emacs core.
|
||||||
|
|
||||||
(use-package abbrev
|
(use-package abbrev
|
||||||
:init (setq save-abbrevs 'silently
|
:init (setq save-abbrevs 'silently
|
||||||
abbrev-file-name (expand-file-name "private/abbrev_defs"))
|
abbrev-file-name (expand-file-name "private/abbrev_defs"))
|
||||||
|
@ -531,6 +533,13 @@
|
||||||
diary-show-holidays-flag t
|
diary-show-holidays-flag t
|
||||||
calendar-view-holidays-initially-flag nil))
|
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
|
(use-package ffap
|
||||||
;; Inhibit Emacs from pinging hostnames; see
|
;; Inhibit Emacs from pinging hostnames; see
|
||||||
;; https://www.n16f.net/blog/investigating-a-ffap-issue-in-emacs/
|
;; https://www.n16f.net/blog/investigating-a-ffap-issue-in-emacs/
|
||||||
|
@ -581,6 +590,13 @@
|
||||||
:commands (re-builder)
|
:commands (re-builder)
|
||||||
:init (setq reb-re-syntax 'string))
|
: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
|
(use-package server
|
||||||
:commands (server-running-p server-start)
|
:commands (server-running-p server-start)
|
||||||
:init (setq server-log t))
|
:init (setq server-log t))
|
||||||
|
@ -3027,8 +3043,8 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
|
|
||||||
;; * Various Mode Configurations
|
;; * Various Mode Configurations
|
||||||
|
|
||||||
;; These are packages that are not essential, but still nice to have. They
|
;; These are external packages that are not essential, but still nice to have.
|
||||||
;; provide optional functionality and may redefine builtin commands.
|
;; They provide optional functionality and may redefine builtin commands.
|
||||||
|
|
||||||
(use-package cperl-mode
|
(use-package cperl-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
|
@ -3059,14 +3075,11 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (define-word-at-point define-word))
|
:commands (define-word-at-point define-word))
|
||||||
|
|
||||||
(use-package dictcc
|
(use-package dilctcc
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (dictcc)
|
:commands (dictcc)
|
||||||
:config (require 'gnutls))
|
:config (require 'gnutls))
|
||||||
|
|
||||||
(use-package dictionary
|
|
||||||
:init (setq dictionary-server "dict.org"))
|
|
||||||
|
|
||||||
(use-package edit-list
|
(use-package edit-list
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands edit-list)
|
:commands edit-list)
|
||||||
|
@ -3085,10 +3098,6 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
#'(lambda ()
|
#'(lambda ()
|
||||||
(eproject-mode -1))))))
|
(eproject-mode -1))))))
|
||||||
|
|
||||||
(use-package eww
|
|
||||||
:init (setq eww-bookmarks-directory
|
|
||||||
(expand-file-name "private/" emacs-d)))
|
|
||||||
|
|
||||||
(use-package haskell-mode
|
(use-package haskell-mode
|
||||||
:config (progn
|
:config (progn
|
||||||
(add-hook 'haskell-mode-hook 'haskell-doc-mode)
|
(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.
|
;; `pyvenv-deactivate', though.
|
||||||
(add-hook 'pyvenv-post-activate-hooks #'pyvenv-restart-python)))
|
(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
|
(use-package sh-script
|
||||||
:init (setq sh-basic-offset 2))
|
:init (setq sh-basic-offset 2))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user