branch: master commit a538df11747e98ec2af0635558d04082211a15bf Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy-make-magic-action): Point doc to the action function --- ivy.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ivy.el b/ivy.el index 121b793..8962a83 100644 --- a/ivy.el +++ b/ivy.el @@ -2864,7 +2864,9 @@ bound to `self-insert-command'." (plist-get ivy--actions-list caller))) - (doc (nth 2 alist))) + (doc (format "%s (`%S')" + (nth 2 alist) + (nth 1 alist)))) `(lambda (&optional arg) ,doc (interactive "p")