all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#62673: 28.2; The example in "(elisp) Prefix Keys" is wrong
@ 2023-04-05  6:43 Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-04-05  7:25 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-04-05  6:43 UTC (permalink / raw)
  To: 62673


Reproducing steps:
1. emacs -Q
2. eval the example in the *scratch* buffer
  2.1. (use-local-map (make-sparse-keymap))
           => nil ;; good
  2.2. (local-set-key "\C-p" ctl-x-map)
           => (keymap ...) ;; bad: manual says it returns nil
  2.3. (key-binding "\C-p\C-f")
           => find-file ;; good
  2.4. (key-binding "\C-p6")
           => 2C-command ;; bad: manual says it returns nil





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-05  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-05  6:43 bug#62673: 28.2; The example in "(elisp) Prefix Keys" is wrong Lin Jian via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-05  7:25 ` Eli Zaretskii
2023-04-05  8:35   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.