From fd8dab0c42d7104566437b51526b25979f1056fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Le=20Gouguec?= Date: Mon, 21 Dec 2020 12:09:56 +0100 Subject: [PATCH] * lisp/org.el (org-adapt-indentation): Mark 'headline-data as safe --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 1f7e434ce..f75745aba 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1610,7 +1610,7 @@ time in Emacs." (const :tag "Adapt indentation for headline data lines" 'headline-data) (const :tag "Do not adapt indentation at all" nil)) - :safe #'booleanp) + :safe (lambda (x) (memq x '(t nil headline-data)))) (defvaralias 'org-special-ctrl-a 'org-special-ctrl-a/e) -- 2.29.2