This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
dianciemacs/init.el

34 lines
1 KiB
EmacsLisp
Raw Normal View History

2022-11-08 17:53:06 +00:00
;; Disable Emacs' GTK decorations. Done in this file otherwise done too late.
2022-11-08 17:53:04 +00:00
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
;; Straight.el bootstrap
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 6))
(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))
;; Install use-package for simplicity, and use straight.el for it by default
(straight-use-package 'use-package)
(setq straight-use-package-by-default t)
;; Disable the creation of files ending with '~'
(setq make-backup-files nil)
2022-11-08 17:53:06 +00:00
(add-to-list 'load-path (concat user-emacs-directory
(convert-standard-filename "lisp/")))
2022-11-08 17:53:06 +00:00
2022-11-08 17:53:06 +00:00
(require 'interface)
(require 'packages)
(require 'editor)
(require 'org)