Move built-in package configurations to the Org config

This commit is contained in:
2018-07-29 20:29:56 +02:00
parent 77236cbea7
commit 50707c11a5
2 changed files with 59 additions and 41 deletions

36
init.el
View File

@@ -38,10 +38,6 @@
(regexp-quote "/com.termux/")
(expand-file-name "~")))
;; Load some custom libraries
(use-package thingatpt
:ensure nil)
(use-package helm
:init
(require 'helm-config)
@@ -601,17 +597,6 @@
(:map gpolonkai/pers-map
("r" . org-random-todo)))
(use-package calendar
:ensure nil
:init
(setq calendar-week-start-day 1
calendar-latitude 47.4
calendar-longitude 19.0
calendar-location-name "Budapest, Hungary"
calendar-time-zone 60
calendar-standard-time-zone-name "CET"
calendar-daylight-time-zone-name "CEST"))
(use-package yasnippet
:demand
:config
@@ -740,13 +725,6 @@ INFO plist."
(use-package cheatsheet)
(use-package nxml-mode
:ensure nil
:config
(setq nxml-attribute-indent 4
nxml-child-indent 2
nxml-outline-child-indent 4))
(use-package savehist
:config
(savehist-mode 1))
@@ -811,12 +789,6 @@ INFO plist."
:config
(global-auto-highlight-symbol-mode t))
(use-package recentf
:ensure nil
:config
(run-at-time nil (* 5 60) 'recentf-save-list)
(add-to-list 'recentf-exclude (concat user-emacs-directory "elpa")))
(use-package auto-package-update
:config
(setq auto-package-update-interval 7
@@ -856,14 +828,6 @@ INFO plist."
(use-package gitlab)
(use-package files
:ensure nil
:config
(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t))))
(use-package helm-c-yasnippet
:demand t
:config