From 19566fb51a3c60e90df723018986ccc3d5b5086b Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 14 Jan 2022 10:03:15 +0100 Subject: [PATCH] Add a `shortdoc' convenience alias * lisp/emacs-lisp/shortdoc.el (shortdoc): Add a convenience alias (bug#52968). --- lisp/emacs-lisp/shortdoc.el | 3 +++ 1 file changed, 3 insertions(+) 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)) -- 2.39.2