jwiegley / use-package

A use-package declaration for simplifying your .emacs
https://jwiegley.github.io/use-package
GNU General Public License v3.0
4.42k stars 260 forks source link

describe-personal-bindings error when keymap is dynamically constructed #845

Closed wyuenho closed 4 years ago

wyuenho commented 4 years ago

Reproduction:

  1. In a mode hook, do
    (bind-key "C-c f" 'ignore (symbol-value (intern (concat (symbol-name major-mode) "-map"))))
  2. M-x describe-personal-bindings
  3. Symbol’s value as variable is void: keymap in echo area. No personal binding buffer displayed.

Expectation: No error and the personal binding buffer is displayed.