bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60749: [PATCH] Allow describing commands when using :bind in use-pac


From: Joel Pettersson
Subject: bug#60749: [PATCH] Allow describing commands when using :bind in use-package
Date: Thu, 12 Jan 2023 03:38:30 +0100

Hello,

I would like to be able to provide descriptions of commands in key bindings when using `:bind' in use-package declarations. The `bind-key' macro from use-package, which `:bind' entries expand to, already supports that; this patch contains a suggestion on how to extend that support to `:bind'.

Here is an example usage:

    (use-package avy
      :bind ("C-:" ("Jump to char" . avy-goto-char)
             "M-g f" ("Jump to line" . avy-goto-line)))

Best regards,
Joel

Attachment: 0001-Allow-describing-commands-when-using-bind-in-use-pac.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]