Org-mode mailing list
 help / color / mirror / Atom feed
* patch to change org-adapt-indentation customization documentation
@ 2020-11-17 13:22 Greg Minshall
  2020-11-17 14:08 ` Robert Pluim
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Minshall @ 2020-11-17 13:22 UTC (permalink / raw)
  To: Org-mode

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)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-19  4:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17 13:22 patch to change org-adapt-indentation customization documentation Greg Minshall
2020-11-17 14:08 ` Robert Pluim
2020-11-17 14:20   ` Greg Minshall
2020-11-18  9:49     ` Robert Pluim
2020-11-18 12:13       ` Greg Minshall
2020-11-19  4:05         ` Kyle Meyer

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git