From d7f37110455da00b85aa93c4e80f90c37387cd05 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 3 Feb 2020 22:16:34 -0800 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20let=20me=20accidentally=20write?= =?UTF-8?q?=20in=20the=20wrong=20place?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-org/oni-org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index c662121..db11606 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0128.190149 +;; Version: 2020.0203.221615 ;; Package-Requires: (oni-yasnippet oni-alert org-plus-contrib org-bullets hydra) ;; This program is free software; you can redistribute it and/or modify @@ -184,6 +184,7 @@ After running it once remove it from `org-capture-after-finalize-hook'." (setq org-agenda-todo-ignore-scheduled 'future) (setq org-agenda-skip-function-global #'oni-org-skip-tasks) (setq org-clock-in-switch-to-state #'oni-org-maybe-change-todo-state) +(setq org-catch-invisible-edits 'error) ;;; Set the maximum indentation level for description lists to 5 (which is the ;;; seemingly hardcoded value of the indentation it gets when it goes over