Files
emacs.d/init.el
2026-07-05 20:36:35 +01:00

45 lines
1.6 KiB
EmacsLisp

(server-start)
;; Bootstrap straight.el package manager
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name
"straight/repos/straight.el/bootstrap.el"
(or (bound-and-true-p straight-base-dir)
user-emacs-directory)))
(bootstrap-version 7))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
;; Always use straight.el to install packages with use-package
(setq straight-use-package-by-default t)
(setq use-package-always-demand t)
(add-to-list 'load-path "~/.emacs.d/elisp/")
(load "~/.emacs.d/elisp/settings.el")
(load "~/.emacs.d/elisp/eshell-setup.el")
(load "~/.emacs.d/elisp/extras.el")
(load "~/.emacs.d/elisp/custom.el")
;; load elfeed feeds
(setq elfeed-feeds
'(("http://lambda-the-ultimate.org/node/feed" lambda)
("https://acoup.blog/feed" acoup history)
("https://talesoftimesforgotten.com/feed" history)
("https://pastsimperfect.substack.com/feed" history)
("https://guix.gnu.org/feeds/blog.atom" guix)
("https://mmhaskell.com/blog?format=rss" haskell)
("https://www.inspiredpython.com/feed" python)
("https://sachachua.com/blog/category/emacs-news/feed" emacs)
("https://dthompson.us/feed.xml" guile)
("https://wingolog.org/feed/atom" guile scheme)))
(put 'upcase-region 'disabled nil)