summaryrefslogtreecommitdiff
path: root/doc/lispref/tips.texi
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-25 03:03:34 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-25 04:00:37 +0200
commit091791933704cd706f90c1685ac4b35f51c98199 (patch)
tree41ae0d85203d4224cadd72b3b1c557774bdcab0b /doc/lispref/tips.texi
parent0b2596432d8e29226ec2a52bf6292d65f7f28164 (diff)
downloademacs-091791933704cd706f90c1685ac4b35f51c98199.tar.gz
Add support for man page hyperlinks in doc strings
* lisp/help-mode.el (help-man): New button type. (help-xref-man-regexp): New const. (help-make-xrefs): Use them to allow making man page buttons. * doc/lispref/tips.texi (Documentation Tips): Document the new hyperlink type. (Bug#39215)
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 a72ab88cef6..1ea439b531b 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 make a hyperlink to a man page, write the single-quoted name of the
+man page, preceded by @samp{Man page}, @samp{man page}, or @samp{man
+page for}. For example,
+
+@smallexample
+See the man page `chmod' for details.
+@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,