summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 963dfd3..23194fa 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -162,7 +162,7 @@ The hook functions and `org-store-link' are called within a
(add-to-list 'auto-mode-alist '("\\.org.txt\\'" . org-mode))
-(add-to-list 'safe-local-variable-values '(org-goto-max-level . 2))
+(put 'org-goto-max-level 'safe-local-variable #'integerp)
(defadvice org-tree-to-indirect-buffer (before
org-keep-previous-indirect