mirror of
				https://github.com/larstvei/dot-emacs.git
				synced 2025-10-30 23:40:11 +00:00 
			
		
		
		
	The init.el file should no longer be tracked by version control. This is to avoid cluttered commits.
		
			
				
	
	
		
			13 lines
		
	
	
		
			382 B
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			382 B
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
| ;; This file replaces itself with the actual configuration at first run.
 | |
| 
 | |
| ;; We can't tangle without org!
 | |
| (require 'org)
 | |
| ;; Open the configuration
 | |
| (find-file (concat user-emacs-directory "init.org"))
 | |
| ;; tangle it
 | |
| (org-babel-tangle)
 | |
| ;; load it
 | |
| (load-file (concat user-emacs-directory "init.el"))
 | |
| ;; finally byte-compile it
 | |
| (byte-compile-file (concat user-emacs-directory "init.el"))
 |