Add org-babel-load-file instructions

This commit is contained in:
Evie Litherland-Smith 2023-12-11 12:19:43 +00:00
parent b031021ecd
commit f284a6d534

View file

@ -4,6 +4,9 @@
#+FILETAGS: :emacs:config:org: #+FILETAGS: :emacs:config:org:
#+PROPERTY: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent #+PROPERTY: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent
* Setup
Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia/nixos/src/branch/main/home/emacs.nix][NixOS config]], otherwise add src_emacs-lisp[:tangle no]{(org-babel-load-file "~/Projects/emacs/README.org")} to init file.
* Common defaults * Common defaults
#+BEGIN_SRC emacs-lisp :results output silent #+BEGIN_SRC emacs-lisp :results output silent
(setq custom-file (locate-user-emacs-file "custom.el")) (setq custom-file (locate-user-emacs-file "custom.el"))