Commit 64dafb01419c
tools/emacs/dump.el
@@ -1,19 +0,0 @@
-;; -*- lexical-binding: t -*-
-(add-to-list 'load-path (expand-file-name "lisp/" user-emacs-directory))
-(add-to-list 'load-path (expand-file-name "lisp/modus-themes" user-emacs-directory))
-(add-to-list 'load-path (expand-file-name "lisp/vorg" user-emacs-directory))
-(require 'package)
-;; load autoload files and populate load-path’s
-(setq sbr-dumped-load-path load-path
- sbr-dumped t)
-(package-initialize)
-;; (package-initialize) doens’t require each package, we need to load
-;; those we want manually
-(dolist (package '(use-package company recentf moody helpful undo-tree cus-edit hardhat diff
- use-package aggressive-indent savehist minions expand-region time uniquify isearch
- minibuffer icomplete dired delsel direnv auth-source simple epa-file message
- vc vc-dir vc-git modus-operandi-theme))
- (require package))
-(load-theme 'modus-operandi t t)
-;; dump image
-(dump-emacs-portable (expand-file-name "emacs.pdmp" user-emacs-directory))
Makefile
@@ -14,16 +14,12 @@ SRCHOME = ~/src/home
# Targets
.PHONY: all
-all: switch emacs-dump
+all: switch
.PHONY: update
update:
nix-channel --update
-.PHONY: emacs-dump
-emacs-dump:
- emacs --batch -q -l ~/.config/emacs/dump.el
-
.PHONY: secrets
secrets:
mkdir -p secrets