From: Lars Ingebrigtsen Date: Fri, 14 Jan 2022 09:03:15 +0000 (+0100) Subject: Add a `shortdoc' convenience alias X-Git-Tag: emacs-29.0.90~3057 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=19566fb51a3c60e90df723018986ccc3d5b5086b;p=emacs.git Add a `shortdoc' convenience alias * lisp/emacs-lisp/shortdoc.el (shortdoc): Add a convenience alias (bug#52968). --- diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el index 870d34527b0..658edd67527 100644 --- a/lisp/emacs-lisp/shortdoc.el +++ b/lisp/emacs-lisp/shortdoc.el @@ -1299,6 +1299,9 @@ If FUNCTION is non-nil, place point on the entry for FUNCTION (if any)." (text-property-search-forward 'shortdoc-function function t) (beginning-of-line))) +;;;###autoload +(defalias 'shortdoc #'shortdoc-display-group) + (defun shortdoc--display-function (data) (let ((function (pop data)) (start-section (point))