diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-09-25 03:03:34 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-09-25 04:00:37 +0200 |
commit | 091791933704cd706f90c1685ac4b35f51c98199 (patch) | |
tree | 41ae0d85203d4224cadd72b3b1c557774bdcab0b /doc/lispref/tips.texi | |
parent | 0b2596432d8e29226ec2a52bf6292d65f7f28164 (diff) | |
download | emacs-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.texi | 8 |
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, |