;; This buffer is for text that is not saved, and for Lisp evaluation. ;; To create a file, visit it with C-x C-f and enter text in its buffer. ;; Install Straight -- per straight documentation (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) ;; Install use-package through straight ;; Now use-package will use straight.el to automatically install ;; missing packages if you provide :straight t: (straight-use-package 'use-package) ; This is only needed once, near the top of the file (eval-when-compile ;; Following line is not needed if use-package.el is in ~/.emacs.d ;; (add-to-list 'load-path "") (require 'use-package)) (straight-use-package 'org) (straight-use-package '(org-contrib :type git :host github :repo "emacsmirror/org-contrib")) (use-package 'org :config (org-babel-do-load-languages 'org-babel-load-languages '((R . t) (emacs-lisp . t) (latex . t))) )