lang/org: remove redundant variables
Many of these settings are redundant with their defaults.
This commit is contained in:
parent
6c4f4a9d9d
commit
1031adb6af
1 changed files with 2 additions and 14 deletions
|
@ -22,8 +22,6 @@
|
||||||
(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-default
|
||||||
org-adapt-indentation nil
|
|
||||||
org-cycle-include-plain-lists t
|
|
||||||
org-eldoc-breadcrumb-separator " → "
|
org-eldoc-breadcrumb-separator " → "
|
||||||
org-enforce-todo-dependencies t
|
org-enforce-todo-dependencies t
|
||||||
org-entities-user
|
org-entities-user
|
||||||
|
@ -33,16 +31,10 @@
|
||||||
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-hidden-keywords nil
|
|
||||||
org-hide-emphasis-markers nil
|
|
||||||
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-indent-indentation-per-level 2
|
|
||||||
org-indent-mode-turns-on-hiding-stars t
|
|
||||||
org-list-description-max-indent 4
|
org-list-description-max-indent 4
|
||||||
org-pretty-entities nil
|
|
||||||
org-pretty-entities-include-sub-superscripts t
|
|
||||||
org-priority-faces
|
org-priority-faces
|
||||||
'((?a . error)
|
'((?a . error)
|
||||||
(?b . warning)
|
(?b . warning)
|
||||||
|
@ -50,10 +42,6 @@
|
||||||
org-refile-targets
|
org-refile-targets
|
||||||
'((nil :maxlevel . 3)
|
'((nil :maxlevel . 3)
|
||||||
(org-agenda-files :maxlevel . 3))
|
(org-agenda-files :maxlevel . 3))
|
||||||
org-startup-folded t
|
|
||||||
org-startup-indented t
|
|
||||||
org-startup-with-inline-images nil
|
|
||||||
org-tags-column 0
|
|
||||||
org-todo-keywords
|
org-todo-keywords
|
||||||
'((sequence "TODO(t)" "PROJ(p)" "|" "DONE(d)")
|
'((sequence "TODO(t)" "PROJ(p)" "|" "DONE(d)")
|
||||||
(sequence "[ ](T)" "[-](P)" "[?](M)" "|" "[X](D)")
|
(sequence "[ ](T)" "[-](P)" "[?](M)" "|" "[X](D)")
|
||||||
|
@ -69,6 +57,7 @@
|
||||||
;; Scale up LaTeX previews a bit (default is too small)
|
;; Scale up LaTeX previews a bit (default is too small)
|
||||||
org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
||||||
|
|
||||||
|
;; Show the full link destination in minibuffer when cursor/mouse is over it
|
||||||
(advice-add #'org-eldoc-documentation-function :around #'+org-display-link-in-eldoc-a)
|
(advice-add #'org-eldoc-documentation-function :around #'+org-display-link-in-eldoc-a)
|
||||||
|
|
||||||
;; Don't do automatic indent detection in org files
|
;; Don't do automatic indent detection in org files
|
||||||
|
@ -93,8 +82,7 @@
|
||||||
|
|
||||||
|
|
||||||
(defun +org-init-babel-h ()
|
(defun +org-init-babel-h ()
|
||||||
(setq org-src-fontify-natively t ; make code pretty
|
(setq org-src-preserve-indentation t ; use native major-mode indentation
|
||||||
org-src-preserve-indentation t ; use native major-mode indentation
|
|
||||||
org-src-tab-acts-natively t
|
org-src-tab-acts-natively t
|
||||||
org-src-window-setup 'current-window
|
org-src-window-setup 'current-window
|
||||||
org-confirm-babel-evaluate nil) ; you don't need my permission
|
org-confirm-babel-evaluate nil) ; you don't need my permission
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue