Stefan Kangas
bd3ecfef84
Run substitute-command-keys on shortdoc section headings
...
* lisp/emacs-lisp/shortdoc.el (shortdoc-display-group): Run
substitute-command-keys on section headings before displaying.
2020-10-28 14:46:43 +01:00
Stefan Kangas
6b3ed2375b
Extend the regexp shortdoc group
...
* lisp/emacs-lisp/shortdoc.el (regexp): New section "Match Data"; add
save-match-data. New section "The `rx' Structured Regexp Notation".
2020-10-28 14:46:28 +01:00
Lars Ingebrigtsen
d23e483cfb
Tweak how shortdocs are displayed
...
* lisp/emacs-lisp/shortdoc.el (shortdoc-example): Removed.
(shortdoc-section): Remove colors.
(shortdoc-separator): New face.
(shortdoc-display-group, shortdoc--display-function): Don't use
background colours, because that makes things harder to read.
Separate with a horizontal line instead.
2020-10-26 19:15:36 +01:00
Stefan Kangas
a98bb620c4
Add section "Replacing Match" to the regexp shortdoc group
...
* lisp/emacs-lisp/shortdoc.el (regexp): New section "Replacing Match".
2020-10-25 19:18:27 +01:00
Stefan Kangas
10ea719abc
Add shortdoc group for alist
...
* lisp/emacs-lisp/shortdoc.el (alist): New shortdoc group.
2020-10-25 01:40:52 +02:00
Stefan Kangas
b6a41c76a5
Add shortdoc group for hash-table
...
* lisp/emacs-lisp/shortdoc.el (hash-table): New shortdoc group.
2020-10-25 00:53:17 +02:00
Basil L. Contovounesios
ec4f2723c1
Simplify syntax of shortdoc face specs
...
* lisp/emacs-lisp/shortdoc.el: Remove unused dependency.
(shortdoc-section, shortdoc-example): Use newer (DISPLAY . PLIST)
face spec syntax.
2020-10-20 17:31:09 +01:00
Lars Ingebrigtsen
d5c811279b
Fix error in file shortdoc group
...
* lisp/emacs-lisp/shortdoc.el (number): Add some more numeric
stuff (and clean up some arglists).
2020-10-11 23:51:26 +02:00
Eli Zaretskii
4b84095d23
Improve documentation of shortdoc features
...
* lisp/help-fns.el (help-fns-describe-function-functions): Doc
fix.
* lisp/emacs-lisp/shortdoc.el (define-short-documentation-group)
(shortdoc-display-group, shortdoc-add-function): Doc fixes.
* doc/lispref/help.texi (Documentation Groups): Improve the
recently-added documentation and the indexing.
2020-10-11 17:28:40 +03:00
Lars Ingebrigtsen
5f01f86e6b
Add more numeric shortdocs
...
* lisp/emacs-lisp/shortdoc.el (shortdoc-section)
(shortdoc-example): Lighten up colours on light backgrounds.
2020-10-11 12:30:38 +02:00
Lars Ingebrigtsen
c66165b5c0
Tweak shortdoc colours on light backgrounds
...
* lisp/emacs-lisp/shortdoc.el (shortdoc-section)
(shortdoc-example): Lighten up colours on light backgrounds.
2020-10-11 12:12:47 +02:00
Lars Ingebrigtsen
e441a25daa
Autoload shortdoc command and adjust NEWS
...
* lisp/emacs-lisp/shortdoc.el (shortdoc-display-group): Autoload.
2020-10-11 12:05:55 +02:00
Lars Ingebrigtsen
ed378c95b6
Use Unicode arrows in shortdoc results
...
* lisp/emacs-lisp/shortdoc.el (shortdoc--display-function): Use
Unicode arrows if possible.
2020-10-11 11:21:48 +02:00
Lars Ingebrigtsen
2a7488d42d
Add support for displaying short documentation for function groups
...
* doc/lispref/help.texi (Documentation Groups): Document it.
* lisp/help-fns.el (help-fns--mention-shortdoc-groups): Output
references to the shortdocs.
* lisp/emacs-lisp/shortdoc.el: New file.
2020-10-11 05:51:16 +02:00