Merge branch 'master' into layer/elisp

This commit is contained in:
Jonas Bernoulli
2017-11-27 12:53:15 +01:00
12 changed files with 21 additions and 26 deletions

3
.gitmodules vendored
View File

@@ -34,6 +34,9 @@
path = lib/magit path = lib/magit
url = git@github.com:magit/magit.git url = git@github.com:magit/magit.git
info-path = Documentation info-path = Documentation
[submodule "magit-popup"]
path = lib/magit-popup
url = git@github.com:magit/magit-popup.git
[submodule "package-build"] [submodule "package-build"]
path = lib/package-build path = lib/package-build
url = git@github.com:melpa/package-build.git url = git@github.com:melpa/package-build.git

View File

@@ -3,6 +3,8 @@
# Author: Jonas Bernoulli <jonas@bernoul.li> # Author: Jonas Bernoulli <jonas@bernoul.li>
# License: GPL v3 <https://www.gnu.org/licenses/gpl-3.0.txt> # License: GPL v3 <https://www.gnu.org/licenses/gpl-3.0.txt>
EMACS ?= emacs
.PHONY: all help build build-init quick bootstrap .PHONY: all help build build-init quick bootstrap
.FORCE: .FORCE:
@@ -19,24 +21,24 @@ help:
build: build:
@rm -f init.elc @rm -f init.elc
@emacs -Q --batch -L lib/borg --load borg \ @$(EMACS) -Q --batch -L lib/borg --load borg \
--funcall borg-initialize \ --funcall borg-initialize \
--funcall borg-batch-rebuild 2>&1 --funcall borg-batch-rebuild 2>&1
build-init: build-init:
@rm -f init.elc @rm -f init.elc
@emacs -Q --batch -L lib/borg --load borg \ @$(EMACS) -Q --batch -L lib/borg --load borg \
--funcall borg-initialize \ --funcall borg-initialize \
--funcall borg-batch-rebuild-init 2>&1 --funcall borg-batch-rebuild-init 2>&1
quick: quick:
@rm -f init.elc @rm -f init.elc
@emacs -Q --batch -L lib/borg --load borg \ @$(EMACS) -Q --batch -L lib/borg --load borg \
--funcall borg-initialize \ --funcall borg-initialize \
--eval '(borg-batch-rebuild t)' 2>&1 --eval '(borg-batch-rebuild t)' 2>&1
lib/%: .FORCE lib/%: .FORCE
@emacs -Q --batch -L lib/borg --load borg \ @$(EMACS) -Q --batch -L lib/borg --load borg \
--funcall borg-initialize \ --funcall borg-initialize \
--eval '(borg-build "$(@F)")' 2>&1 --eval '(borg-build "$(@F)")' 2>&1

17
init.el
View File

@@ -104,20 +104,9 @@
("C-x M-g" . magit-dispatch-popup)) ("C-x M-g" . magit-dispatch-popup))
:config :config
(magit-add-section-hook 'magit-status-sections-hook (magit-add-section-hook 'magit-status-sections-hook
'magit-insert-modules-unpulled-from-upstream 'magit-insert-modules
'magit-insert-unpulled-from-upstream) 'magit-insert-stashes
(magit-add-section-hook 'magit-status-sections-hook 'append))
'magit-insert-modules-unpulled-from-pushremote
'magit-insert-unpulled-from-upstream)
(magit-add-section-hook 'magit-status-sections-hook
'magit-insert-modules-unpushed-to-upstream
'magit-insert-unpulled-from-upstream)
(magit-add-section-hook 'magit-status-sections-hook
'magit-insert-modules-unpushed-to-pushremote
'magit-insert-unpulled-from-upstream)
(magit-add-section-hook 'magit-status-sections-hook
'magit-insert-submodules
'magit-insert-unpulled-from-upstream))
(use-package man (use-package man
:defer t :defer t

1
lib/magit-popup Submodule

Submodule lib/magit-popup added at 70e3cdd614