summaryrefslogtreecommitdiff
path: root/doc/lispref/tips.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-09-04 10:19:03 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-04 10:19:03 +0200
commit3f999c03c2842c72b832b7f59ba4c45c0ec725be (patch)
treedb9f837ee39286afa0d3dead78b2ff17772d4727 /doc/lispref/tips.texi
parent7e7723796c2c9b46302d1d036e9ef54b9727113e (diff)
downloademacs-3f999c03c2842c72b832b7f59ba4c45c0ec725be.tar.gz
Add support for customization group hyperlinks in doc strings
* lisp/help-mode.el (help-customization-group): New button. (help-xref-customization-group-regexp): New const. (help-make-xrefs): Use them to allow making customization group buttons.
Diffstat (limited to 'doc/lispref/tips.texi')
-rw-r--r--doc/lispref/tips.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi
index 8aa225a00c3..f0eb1079caf 100644
--- a/doc/lispref/tips.texi
+++ b/doc/lispref/tips.texi
@@ -755,6 +755,14 @@ anchor}. The Info file name defaults to @samp{emacs}. For example,
See Info node `Font Lock' and Info node `(elisp)Font Lock Basics'.
@end smallexample
+To link to a customization group, write the single-quoted name of the
+group, preceded by @samp{customization group} (the first character in
+each word is case-insensitive). For example,
+
+@smallexample
+See the customization group `whitespace' for details.
+@end smallexample
+
Finally, to create a hyperlink to URLs, write the single-quoted URL,
preceded by @samp{URL}. For example,