emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch to change org-adapt-indentation customization documentation


From: Greg Minshall
Subject: patch to change org-adapt-indentation customization documentation
Date: Tue, 17 Nov 2020 16:22:50 +0300

for some reason, i was motivated to look at changing
org-adapt-indentation.  i found that the help text talked about values
t, 'headline-data, and nil, but that the customization text didn't
(though, of course, it *set* those values).  the following might make it
clearer.

diff --git a/lisp/org.el b/lisp/org.el
index 2b50f94ee..5bb48c2fd 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -1605,10 +1605,10 @@ level-dependent indentation in a virtual way, i.e. at 
display
 time in Emacs."
   :group 'org-edit-structure
   :type '(choice
-         (const :tag "Adapt indentation for all lines" t)
-         (const :tag "Adapt indentation for headline data lines"
+         (const :tag "(t) Adapt indentation for all lines" t)
+         (const :tag "('headline-data) Adapt indentation for headline data 
lines"
                 'headline-data)
-         (const :tag "Do not adapt indentation at all" nil))
+         (const :tag "(nil) Do not adapt indentation at all" nil))
   :safe #'booleanp)

 (defvaralias 'org-special-ctrl-a 'org-special-ctrl-a/e)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]