summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2024-01-21 21:43:49 -0500
committerKyle Meyer <kyle@kyleam.com>2024-01-22 00:02:53 -0500
commit1c9cf788bf2cbe6de423c2061f26d1a370ada3bd (patch)
treead05f7ec28ab936ab1feaace006ba5cb82c589ec /init.el
parent0d775c894f95b5158dc638dc887a454dcfaa026a (diff)
downloademacs.d-1c9cf788bf2cbe6de423c2061f26d1a370ada3bd.tar.gz
Drop most load-path modifications
Leave this to be handled at an outer level, like all other packages.
Diffstat (limited to 'init.el')
-rw-r--r--init.el41
1 files changed, 1 insertions, 40 deletions
diff --git a/init.el b/init.el
index 3ca2cce..8a0b942 100644
--- a/init.el
+++ b/init.el
@@ -106,14 +106,8 @@
;;; Org
(use-package org
- :load-path "~/src/emacs/org-mode/lisp/"
:mode ("\\.org.txt\\'" . org-mode)
:init
- (require 'org-loaddefs)
- (add-to-list 'load-path "~/src/emacs/org-contrib/lisp/" t)
- (with-eval-after-load 'info
- (info-initialize)
- (add-to-list 'Info-directory-list "~/src/emacs/org-mode/doc/"))
(bind-keys :map km/global-org-map
("b" . org-switchb)
("cg" . org-clock-goto)
@@ -399,14 +393,8 @@
("D" . km/org-agenda-delete-subtree)
("w" . km/org-agenda-refile-dwim)))
-(use-package org-link-edit
- :load-path "~/src/emacs/org-link-edit/"
- :init (require 'org-link-edit-autoloads nil t))
-
(use-package bog
- :load-path "~/src/emacs/bog/"
:init
- (require 'bog-autoloads nil t)
(setq bog-keymap-prefix (kbd "C-c b"))
(global-set-key bog-keymap-prefix bog-command-map)
:config
@@ -882,19 +870,11 @@
(setq git-annex-commit nil)
(run-hooks 'modus-themes-after-load-theme-hook))
-(use-package compat
- :load-path "~/src/emacs/compat/")
-
-(use-package with-editor
- :load-path "~/src/emacs/with-editor/lisp/")
-
(use-package transient
- :load-path "~/src/emacs/transient/lisp"
:config
(setq transient-default-level 7))
(use-package magit-popup
- :load-path "~/src/emacs/magit-popup/"
:config
(setq magit-popup-show-help-echo nil
magit-popup-show-common-commands nil
@@ -905,7 +885,6 @@
("SPC SPC <t>" . magit-invoke-popup-option)))
(use-package magit
- :load-path "~/src/emacs/magit/lisp/"
:bind ("C-x g" . km/magit-status)
:chords ("jg" . km/magit-status)
:init
@@ -1072,9 +1051,6 @@
(put 'magit-edit-line-commit 'disabled nil)
(put 'magit-diff-edit-hunk-commit 'disabled nil))
-(use-package orgit
- :load-path "~/src/emacs/orgit/")
-
(use-package km-magit
:init
(bind-keys :map km/git-map
@@ -1185,21 +1161,10 @@
'("s" "series" km/magit-patch-create-series))))
(use-package magit-annex
- :load-path "~/src/emacs/magit-annex/"
- :init (require 'magit-annex-autoloads nil t)
:config
(setq magit-annex-unused-open-function #'org-open-file))
-(use-package magit-tbdiff
- :load-path "~/src/emacs/magit-tbdiff/"
- :init (require 'magit-tbdiff-autoloads nil t))
-
-(use-package magit-imerge
- :load-path "~/src/emacs/magit-imerge/"
- :init (require 'magit-imerge-autoloads nil t))
-
(use-package git-commit
- ;; :load-path "~/src/emacs/magit/lisp/"
:config
(setq git-commit-finish-query-functions nil)
@@ -1216,9 +1181,7 @@
'((name . "go-to-bob"))))
(use-package orgit
- :disabled t
- :load-path "~/src/emacs/orgit/"
- :init (require 'orgit-autoloads nil t))
+ :disabled t)
;;; Command interfaces
@@ -1912,9 +1875,7 @@
#'km/python-indent-post-self-insert-function 'append 'local))))
(use-package snakemake-mode
- :load-path "~/src/emacs/snakemake-mode/"
:init
- (require 'snakemake-autoloads nil t)
(define-key km/compile-map "s" #'snakemake-popup)
(with-eval-after-load 'dired
(define-key dired-mode-map "b" #'snakemake-popup))