lang/org: reformat UI config; setq-default -> setq

This commit is contained in:
Henrik Lissner 2019-10-28 02:02:45 -04:00
parent 7b9c13f25f
commit bec1891a3d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -83,30 +83,27 @@ path too.")
(defun +org-init-appearance-h () (defun +org-init-appearance-h ()
"Configures the UI for `org-mode'." "Configures the UI for `org-mode'."
(setq-default (setq org-indirect-buffer-display 'current-window
org-indirect-buffer-display 'current-window org-eldoc-breadcrumb-separator ""
org-eldoc-breadcrumb-separator "" org-enforce-todo-dependencies t
org-enforce-todo-dependencies t org-entities-user
org-entities-user '(("flat" "\\flat" nil "" "" "266D" "")
'(("flat" "\\flat" nil "" "" "266D" "") ("sharp" "\\sharp" nil "" "" "266F" ""))
("sharp" "\\sharp" nil "" "" "266F" "")) org-fontify-done-headline t
org-fontify-done-headline t org-fontify-quote-and-verse-blocks t
org-fontify-quote-and-verse-blocks t org-fontify-whole-heading-line t
org-fontify-whole-heading-line t org-footnote-auto-label 'plain
org-footnote-auto-label 'plain org-hide-leading-stars t
org-hide-leading-stars t org-hide-leading-stars-before-indent-mode t
org-hide-leading-stars-before-indent-mode t org-image-actual-width nil
org-image-actual-width nil org-list-description-max-indent 4
org-list-description-max-indent 4 org-priority-faces
org-priority-faces '((?A . error)
'((?A . error) (?B . warning)
(?B . warning) (?C . success))
(?C . success)) org-startup-indented t
org-startup-indented t org-tags-column -80
org-tags-column -80 org-use-sub-superscripts '{})
org-use-sub-superscripts '{}
;; Scale up LaTeX previews a bit (default is too small)
org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
(setq org-refile-targets (setq org-refile-targets
'((nil :maxlevel . 3) '((nil :maxlevel . 3)
@ -118,6 +115,9 @@ path too.")
org-refile-use-outline-path 'file org-refile-use-outline-path 'file
org-outline-path-complete-in-steps nil) org-outline-path-complete-in-steps nil)
;; Scale up LaTeX previews a bit (default is too small)
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
;; ...and fix their background w/ themes
(add-hook! 'doom-load-theme-hook (add-hook! 'doom-load-theme-hook
(defun +org-refresh-latex-background () (defun +org-refresh-latex-background ()
"Previews are usually rendered with light backgrounds, so ensure their "Previews are usually rendered with light backgrounds, so ensure their