mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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)
This commit is contained in:
parent
0b2596432d
commit
0917919337
3 changed files with 29 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue