diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-12-17 11:01:25 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-12-17 11:01:25 +0100 |
commit | 9bbee7d3c883efac7c738c6ef66b476d2696fc9a (patch) | |
tree | 38306ae67a4cbd514694adcf5b25dec9d4482e16 | |
parent | 1882be68ba8705ede1fe1847f172fec8f5adc54e (diff) | |
download | org-mode-9bbee7d3c883efac7c738c6ef66b476d2696fc9a.tar.gz |
Add some `:safe' keywords
* lisp/org-src.el (org-edit-src-content-indentation):
* lisp/org.el (org-adapt-indentation): Add :safe keyword.
-rw-r--r-- | lisp/org-src.el | 3 | ||||
-rw-r--r-- | lisp/org.el | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/org-src.el b/lisp/org-src.el index 4191d9a..b27e96c 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -128,7 +128,8 @@ editing it with `\\[org-edit-src-code]'. It has no effect if `org-src-preserve-indentation' is non-nil." :group 'org-edit-structure - :type 'integer) + :type 'integer + :safe #'wholenump) (defcustom org-edit-src-persistent-message t "Non-nil means show persistent exit help message while editing src examples. diff --git a/lisp/org.el b/lisp/org.el index fcf5678..2cff98a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1474,11 +1474,12 @@ stars). The following issues are influenced by this variable: a headline will be indented when this variable is set. Note that this is all about true indentation, by adding and -removing space characters. See also `org-indent.el' which does +removing space characters. See also \"org-indent.el\" which does level-dependent indentation in a virtual way, i.e. at display time in Emacs." :group 'org-edit-structure - :type 'boolean) + :type 'boolean + :safe #'booleanp) (defcustom org-special-ctrl-a/e nil "Non-nil means `C-a' and `C-e' behave specially in headlines and items. |