commit 64dafb01419c60e8adaa16c8cd7fb166967d1480 parent 12d58a133c9d90823fca6c9aaa4389b0e0fde6e5 Author: Vincent Demeester <vincent@sbr.pm> Date: Thu, 24 Sep 2020 18:19:09 +0100 tools/emacs: remove portable dump It is a nice feature, but it's more problematic than anything Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | Makefile | | | 6 | +----- |
D | tools/emacs/dump.el | | | 19 | ------------------- |
2 files changed, 1 insertion(+), 24 deletions(-)
diff --git a/Makefile b/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 diff --git a/tools/emacs/dump.el b/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))