Skip to content

Custom Widget Shortcuts Not Working #574

@ayman

Description

@ayman

On a Mac running emacs-plus GNU Emacs 29.4 (build 1, aarch64-apple-darwin24.3.0, NS appkit-2575.40 Version 15.3.2 (Build 24D81)) of 2025-03-24. From the FAQ, I'm adding a custom section with a shortcut like:

(defun dashboard-insert-custom (list-size)
  (dashboard-insert-heading "News:"
                            "c"
                            (all-the-icons-faicon "newspaper-o"
                                                  :height 1.2
                                                  :v-adjust 0.0
                                                  :face 'dashboard-heading))
  (insert "\n")
  (insert "    Custom text"))

(add-to-list 'dashboard-item-generators  '(custom . dashboard-insert-custom))
(add-to-list 'dashboard-items '(custom) t)
(add-to-list 'dashboard-item-shortcuts '(custom . "c"))

In the dashboard, I see the section.

Image

but tapping c just gives a c is undefined. Is this a bug or some problem with my elisp?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions