From 8d9320be834f3f59e0ffdbf59cf7a20c341ac9b6 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 9 May 2020 23:51:55 -0700 Subject: [PATCH] Clean up Emacs config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Everything’s moved to my emacs-config project --- GNUmakefile | 6 ------ emacs/.emacs.d/.gitignore | 1 - emacs/.emacs.d/GNUmakefile | 33 --------------------------------- 3 files changed, 40 deletions(-) delete mode 100644 emacs/.emacs.d/.gitignore delete mode 100644 emacs/.emacs.d/GNUmakefile diff --git a/GNUmakefile b/GNUmakefile index b9f831c..6daf158 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -32,12 +32,6 @@ picom-clean: # Emacs # ######### -emacs: - $(MAKE) -C emacs/.emacs.d - -emacs-clean: - $(MAKE) -C emacs/.emacs.d clean - ########### # Xmodmap # ########### diff --git a/emacs/.emacs.d/.gitignore b/emacs/.emacs.d/.gitignore deleted file mode 100644 index f1caf65..0000000 --- a/emacs/.emacs.d/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.python-environments diff --git a/emacs/.emacs.d/GNUmakefile b/emacs/.emacs.d/GNUmakefile deleted file mode 100644 index 8b8cad5..0000000 --- a/emacs/.emacs.d/GNUmakefile +++ /dev/null @@ -1,33 +0,0 @@ -SHELL = bash -EMACS := emacs - -.SECONDARY: - -VENDOR_DIRS := $(wildcard vendor-lisp/*) -BASE_DIR := $(CURDIR) - -.PHONY: all snippets -all: init.elc snippets - -%.elc: %.el - @echo -e "\e[31mELC\e[0m $<" - @$(EMACS) -batch \ - -directory "$(HOME)/.emacs.d/vendor-lisp/emacs-slack" \ - -directory "$(HOME)/.emacs.d/vendor-lisp/circe" \ - -directory "$(HOME)/.emacs.d/vendor-lisp/circe-serenity" \ - -eval "(package-initialize)" \ - -eval "(byte-compile-file \"$<\")" - -### Snippets - -SNIPPET_DIRS = $(wildcard snippets/*) -COMPILED_SNIPPETS = $(addsuffix /.yas-compiled-snippets.el, $(SNIPPET_DIRS)) - -%/.yas-compiled-snippets.el: %/* - @echo -e "\e[36mYAS\e[0m $(BASE_DIR)/snippets" - @$(EMACS) -batch \ - -eval "(package-initialize)" \ - -l yasnippet \ - -eval "(yas-compile-directory \"$(BASE_DIR)/snippets\")" - -snippets: $(COMPILED_SNIPPETS)