emacs-config/init.el
2025-10-30 23:13:15 +01:00

22 lines
843 B
EmacsLisp

;;; -*- lexical-binding: t; -*-
(require 'package)
;;https://github.com/wbolster/emacs-direnv/issues/85
(setenv "PATH" (mapconcat 'identity exec-path ":")) ;;fixes direnv losing nix pkgs
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired.
;; See `package-archive-priorities` and `package-pinned-packages`.
;; Most users will not need or want to do this.
;; (add-to-list 'package-archives
;; '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(use-package el-easydraw
:ensure t
:after org
:vc (el-easydraw :url "https://github.com/misohena/el-easydraw.git"
:branch "master")
:init
(edraw-org-setup-default))
(org-babel-load-file
(expand-file-name
"config.org"
user-emacs-directory))