summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-01-07 23:13:56 -0500
committerKyle Meyer <kyle@kyleam.com>2015-01-07 23:13:56 -0500
commit3251c005f08a5d059bfab391f346e94a5f2f3e93 (patch)
tree29a3f39b91721c218bfe8de918ebab5061d487a5 /lisp
parent3b7bd43479a4f7afc933afefe217170e277bda0e (diff)
downloademacs.d-3251c005f08a5d059bfab391f346e94a5f2f3e93.tar.gz
Mark org-goto-max-level as safe local variable
Diffstat (limited to 'lisp')
-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