Emacs: Don't generate init2.el, make init.el instead
This commit is contained in:
parent
01d77b518f
commit
7a477eb803
4 changed files with 4 additions and 17 deletions
2
emacs/.gitignore
vendored
2
emacs/.gitignore
vendored
|
@ -13,5 +13,5 @@ templates/
|
||||||
rinit.*
|
rinit.*
|
||||||
!rinit.org
|
!rinit.org
|
||||||
history
|
history
|
||||||
init2.el
|
init.el
|
||||||
*.html
|
*.html
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
DESTDIR:=$(DESTDIR)/.emacs.d
|
DESTDIR:=$(DESTDIR)/.emacs.d
|
||||||
objects=init.elc init.el gnus.elc gnus.el init2.elc init2.el
|
objects=init.elc init.el gnus.elc gnus.el
|
||||||
modules=eshell site-lisp snippets
|
modules=eshell site-lisp snippets
|
||||||
|
|
||||||
EMACS=emacs
|
EMACS=emacs
|
||||||
|
|
||||||
include ../dotfiles.mk
|
include ../dotfiles.mk
|
||||||
|
|
||||||
init2.el: init.org
|
init.el: init.org
|
||||||
$(EMACS) -Q -batch \
|
$(EMACS) -Q -batch \
|
||||||
-eval "(progn (require 'org) (require 'ob-tangle) (org-babel-tangle-file \"$^\"))"
|
-eval "(progn (require 'org) (require 'ob-tangle) (org-babel-tangle-file \"$^\"))"
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
;;; init.el --- ryuslash's emacs init
|
|
||||||
|
|
||||||
;;; Commentary:
|
|
||||||
;; Does so much and changes so often
|
|
||||||
|
|
||||||
|
|
||||||
;;; Code:
|
|
||||||
|
|
||||||
(load (concat user-emacs-directory "init2"))
|
|
||||||
|
|
||||||
(provide 'init)
|
|
||||||
|
|
||||||
;;; init.el ends here
|
|
|
@ -1,7 +1,7 @@
|
||||||
#+TITLE: Emacs init
|
#+TITLE: Emacs init
|
||||||
#+LINK: yoshi-theme http://ryuslash.org/projects/yoshi-theme.html
|
#+LINK: yoshi-theme http://ryuslash.org/projects/yoshi-theme.html
|
||||||
#+OPTIONS: author:nil num:nil
|
#+OPTIONS: author:nil num:nil
|
||||||
#+PROPERTY: tangle init2.el
|
#+PROPERTY: tangle init.el
|
||||||
#+STARTUP: showall
|
#+STARTUP: showall
|
||||||
|
|
||||||
Disable the ~menu-bar-mode~, ~tool-bar-mode~ and ~scroll-bar-mode~ early on
|
Disable the ~menu-bar-mode~, ~tool-bar-mode~ and ~scroll-bar-mode~ early on
|
||||||
|
|
Loading…
Reference in a new issue