From 012a025d8db0615dd30fe344a201a45bdb031b4e Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 28 Jul 2020 23:40:54 +0200 Subject: [PATCH] Emacs: org: Replace show-all in hook with variable; Mark org-confirm-babel-evaluate as safe. --- init.d/text/misc.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/init.d/text/misc.el b/init.d/text/misc.el index 42a0a7e..95b6269 100644 --- a/init.d/text/misc.el +++ b/init.d/text/misc.el @@ -1,6 +1,6 @@ ;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-07-08T18:14:32+0200> +;; Time-stamp: <2020-07-28T23:40:41+0200> ;;; Commentary: @@ -109,15 +109,17 @@ :defines (org-default-notes-file) :commands (org-mode) :custom ((org-support-shift-select t) ; Make shift behave normally on text. - (org-default-notes-file "~/notes.org")) + (org-default-notes-file "~/notes.org") + (org-startup-folded nil)) :config (progn (set-face-attribute 'org-level-1 nil :height 1.4) (set-face-attribute 'org-level-2 nil :height 1.2) (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (shell . t) (C .t))) - (add-to-list 'org-modules 'org-tempo)) ; Templates (