瀏覽代碼

Add run-emacs target

pull/5/head
10sr 9 年之前
父節點
當前提交
a631951c4d
共有 1 個文件被更改,包括 10 次插入5 次删除
  1. +10
    -5
      Makefile

+ 10
- 5
Makefile 查看文件

@@ -76,6 +76,9 @@ setups := setup-darwin setup-directories setup-emacs setup-gitconf \
setup-all: $(setups)


runs := run-emacs run-bash run-zsh



# `make check` is just an alias for `make test`
check: test
@@ -343,6 +346,13 @@ setup-rc-tmux.conf: topfile := $(home)/.tmux.conf
setup-rc-emacs.el: topfile := $(home)/.emacs.d/init.el


# run
# ===

run-emacs: $(dotfiles_dir)/emacs.el
$(emacs) -q --eval "(setq )" --load "$<"





@@ -395,8 +405,3 @@ sexp_elisp_syntax_check := \
$(test_syntax_els): test-syntax-%: $(dotfiles_dir)/%
$(emacs) -Q --debug-init --batch \
--eval '(let ((file "$<")) $(sexp_elisp_syntax_check))' --kill



run-emacs:
$(emacs) -nw

Loading…
取消
儲存