dotfiles/emacs/.emacs.d/init.el

23 lines
762 B
EmacsLisp

;;; -*- lexical-binding: t; -*-
(setq vc-follow-symlinks t)
;; Load straight.el here to avoid org-mode version conflict
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'org-plus-contrib)
(require 'org)
(org-babel-load-file (expand-file-name "~/init.org"))
(put 'downcase-region 'disabled nil)