|
@@ -46,7 +46,9 @@
|
|
|
(unless (package-installed-p 'use-package)
|
|
|
(package-install 'use-package))
|
|
|
|
|
|
-
|
|
|
+;; Make garbage collection less frequent
|
|
|
+;; then put to normal at the end of init
|
|
|
+(setq gc-cons-threshold (* 50 1000 1000))
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
@@ -566,6 +568,7 @@ Group number 1 should be the prefix itself."
|
|
|
(alist-set "\\.pdf\\'" document-view 'org-file-apps)
|
|
|
(alist-set "\\.djvu\\'" document-view 'org-file-apps)
|
|
|
;; C-c C-s RET inserts block. See ":exports both" for results.
|
|
|
+ ;; TODO: Section 5 in https://blog.d46.us/advanced-emacs-startup/
|
|
|
(org-babel-do-load-languages
|
|
|
'org-babel-load-languages
|
|
|
'((calc . t)
|
|
@@ -597,5 +600,20 @@ Group number 1 should be the prefix itself."
|
|
|
(set-face-attribute 'org-agenda-calendar-sexp nil
|
|
|
:inherit 'org-level-2)
|
|
|
)
|
|
|
+(use-package org-appear
|
|
|
+ :ensure t
|
|
|
+ :commands (org-appear-mode)
|
|
|
+ :hook (org-mode . org-appear-mode)
|
|
|
+ :config
|
|
|
+ (setq org-hide-emphasis-markers t) ; Must be activated for org-appear to work
|
|
|
+ (setq org-appear-autoemphasis t ; Show bold, italics, verbatim, etc.
|
|
|
+ org-appear-autolinks t ; Show links
|
|
|
+ org-appear-autosubmarkers t)) ; Show sub- and superscripts
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+;; Make garbage collection more frequent now after initialization
|
|
|
+(setq gc-cons-threshold (* 2 1000 1000))
|
|
|
+
|
|
|
+
|