summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-02-27 19:17:18 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-02-27 19:17:18 +0100
commitd87148057ebae6dddc223f3d8e4f3c8a63c6b52b (patch)
tree74c2ad43dc349a94d71b3ca54e4a40c861c288e7
parent0ddb912fb3278de1682837a4034249e36fe67cfe (diff)
downloadorg-mode-d87148057ebae6dddc223f3d8e4f3c8a63c6b52b.tar.gz
Update .dir-locals
* .dir-locals.el (org-mode): Update default values. * lisp/org-list.el (org-list-description-max-indent): Add :safe keyword.
-rw-r--r--.dir-locals.el5
-rw-r--r--lisp/org-list.el3
2 files changed, 5 insertions, 3 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 05d260f..899ba75 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -8,8 +8,9 @@
(sentence-end-double-space . t))
(org-mode
(indent-tabs-mode)
- (org-edit-src-content-indentation . 2)
- (org-adapt-indentation)))
+ (org-edit-src-content-indentation . 0)
+ (org-adapt-indentation)
+ (org-list-description-max-indent . 5)))
diff --git a/lisp/org-list.el b/lisp/org-list.el
index c004a72..c61634c 100644
--- a/lisp/org-list.el
+++ b/lisp/org-list.el
@@ -338,7 +338,8 @@ with the word \"recursive\" in the value."
When the indentation would be larger than this, it will become
5 characters instead."
:group 'org-plain-lists
- :type 'integer)
+ :type 'integer
+ :safe #'wholenump)
(defcustom org-list-indent-offset 0
"Additional indentation for sub-items in a list.