diff --git a/.emacs b/.emacs index 4d6bd14..259b860 100644 --- a/.emacs +++ b/.emacs @@ -1,3 +1,6 @@ +; Enable following symlinks +(setq vc-follow-symlinks t) + ; Load the main config file for emacs (require 'org) (org-babel-load-file diff --git a/.emacs.d/config.org b/.emacs.d/config.org index e44f914..30a426f 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -513,19 +513,22 @@ Org is a package that allows you to create files like this one that look nice wh This installs the org package and creates a setup function to enable/disable certain functionalities. #+begin_src emacs-lisp - ;; Setup org mode - (defun jm/org-mode-setup () - (org-indent-mode) - (variable-pitch-mode 1) - (visual-line-mode 1) - (add-to-list 'org-link-frame-setup '(file . find-file)) ; Open link in current window not other window. - (setq org-hide-emphasis-markers t)) - - (use-package org - :hook (org-mode . jm/org-mode-setup) - :config - (setq org-ellipsis " ▾")) +;; Setup org mode +(defun jm/org-mode-setup () + (org-indent-mode) + (variable-pitch-mode 1) + (visual-line-mode 1) + (add-to-list 'org-link-frame-setup '(file . find-file))) ; Open link in current window not other window. +(use-package org + :hook (org-mode . jm/org-mode-setup) + :config + (setq org-ellipsis " ▾") + (setq org-hide-emphasis-markers t) + (setq org-src-preserve-indentation t) + (setq org-export-with-toc nil) + (setq org-export-with-section-numbers nil) + (setq org-export-with-sub-superscripts nil)) #+end_src ** Cosmetics