summaryrefslogblamecommitdiffstats
path: root/init.el
blob: dc00cb717d2f6816767ea4cc9bbf6e3ecd5d7f6e (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                  

                                                                                        
                    
 

                                
 
                                          
                                 

                         

                                  
                       
                      
 
 


                                                                
 
;; packages
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
			                   ("org" . "https://orgmode.org/elpa/")
			                   ("elpa" . "https://elpa.gnu.org/packages/")))
(package-initialize)

(unless package-archive-contents
  (package-refresh-contents))

(unless (package-installed-p 'use-package)
  (package-install 'use-package))
(eval-when-compile
  (require 'use-package))
(setq use-package-always-ensure t)

;; start of use-package
(require 'use-package)


(require 'org)
(add-to-list 'org-modules 'org-habit)
(org-babel-load-file (expand-file-name "~/.emacs.d/myinit.org"))