Compare commits
2 Commits
4ba41d5a75
...
87663cee84
Author | SHA1 | Date |
---|---|---|
earnest ma | 87663cee84 | |
earnest ma | 3753136b97 |
|
@ -1,4 +0,0 @@
|
|||
etc
|
||||
var
|
||||
|
||||
straight
|
|
@ -1,11 +0,0 @@
|
|||
|
||||
(defvar em-core-dir (file-name-directory load-file-name)
|
||||
"Core files")
|
||||
|
||||
(defvar em-dir (expand-file-name ".." em-core-dir)
|
||||
"Emacs configuration root directory")
|
||||
|
||||
(add-to-list 'load-path em-core-dir)
|
||||
|
||||
|
||||
(provide 'em-init)
|
|
@ -1,38 +0,0 @@
|
|||
;; straight.el: Package management
|
||||
(setq package-enable-at-startup nil)
|
||||
|
||||
(setq straight-vc-git-default-clone-depth 15)
|
||||
|
||||
(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))
|
||||
|
||||
(setq straight-use-package-by-default t)
|
||||
(straight-use-package 'use-package)
|
||||
;; (require 'straight-x)
|
||||
|
||||
;; Garbage collection
|
||||
(setq gc-cons-threshold most-positive-fixnum
|
||||
gc-cons-percentage 0.6)
|
||||
|
||||
(add-hook 'emacs-startup-hook
|
||||
(lambda ()
|
||||
(setq gc-cons-threshold 16777216
|
||||
gc-cons-percentage 0.1)))
|
||||
|
||||
;; Startup
|
||||
(setq frame-inhibit-implied-resize t)
|
||||
(set-language-environment "UTF-8") ; UTF-8 as default
|
||||
(setq default-input-method nil)
|
||||
|
||||
;; GUI
|
||||
(tool-bar-mode -1)
|
|
@ -1,12 +0,0 @@
|
|||
;; TODO Move most of this into core/
|
||||
(setq user-full-name "earnest ma"
|
||||
user-mail-address "me@earne.link"
|
||||
calendar-latitude 43.7682 ; Toronto
|
||||
calendar-longitude -79.4126)
|
||||
|
||||
(use-package no-littering
|
||||
:demand)
|
||||
|
||||
;; Always load newest byte code
|
||||
(setq load-prefer-newer t)
|
||||
(load (concat user-emacs-directory "core/em-init") nil 'nomessage)
|
Loading…
Reference in New Issue