Clean up Emacs config
Everything’s moved to my emacs-config project
This commit is contained in:
parent
f310ee6b9c
commit
8d9320be83
3 changed files with 0 additions and 40 deletions
|
@ -32,12 +32,6 @@ picom-clean:
|
|||
# Emacs #
|
||||
#########
|
||||
|
||||
emacs:
|
||||
$(MAKE) -C emacs/.emacs.d
|
||||
|
||||
emacs-clean:
|
||||
$(MAKE) -C emacs/.emacs.d clean
|
||||
|
||||
###########
|
||||
# Xmodmap #
|
||||
###########
|
||||
|
|
1
emacs/.emacs.d/.gitignore
vendored
1
emacs/.emacs.d/.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
.python-environments
|
|
@ -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)
|
Loading…
Reference in a new issue