[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e441a25: Autoload shortdoc command and adjust NEWS
From: |
Lars Ingebrigtsen |
Subject: |
master e441a25: Autoload shortdoc command and adjust NEWS |
Date: |
Sun, 11 Oct 2020 06:06:05 -0400 (EDT) |
branch: master
commit e441a25daaf785305b77bff8aae666ea21fb3107
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Autoload shortdoc command and adjust NEWS
* lisp/emacs-lisp/shortdoc.el (shortdoc-display-group): Autoload.
---
etc/NEWS | 2 +-
lisp/emacs-lisp/shortdoc.el | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/etc/NEWS b/etc/NEWS
index 3166eb2..cc8733c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -87,7 +87,7 @@ useful on systems such as FreeBSD which ships only with
"etc/termcap".
+++
*** A new system for displaying documentation for groups of function is added.
-This can either be used by saying 'M-x short-documentation-group' and
+This can either be used by saying 'M-x shortdoc-display-group' and
choosing a group, or clicking a button in the *Help* buffers when
looking at the doc string of a function that belongs to one of these
groups.
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index cabf026..e2e5c0f 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -935,6 +935,7 @@ There can be any number of :example/:result elements."
(sqrt
:eval (sqrt -1)))
+;;;###autoload
(defun shortdoc-display-group (group)
"Pop to a buffer and display short documentation for functions in GROUP."
(interactive (list (completing-read "Show functions in: "
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master e441a25: Autoload shortdoc command and adjust NEWS,
Lars Ingebrigtsen <=