Browse Source

Update .dir-locals

* .dir-locals.el (org-mode): Update default values.
* lisp/org-list.el (org-list-description-max-indent): Add :safe
  keyword.
Nicolas Goaziou 7 years ago
parent
commit
d87148057e
2 changed files with 5 additions and 3 deletions
  1. 3 2
      .dir-locals.el
  2. 2 1
      lisp/org-list.el

+ 3 - 2
.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)))
 
 
 

+ 2 - 1
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.