all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#30659: Only local map define-key examples
@ 2018-02-28 20:13 積丹尼 Dan Jacobson
  2018-03-01 15:36 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-02-28 20:13 UTC (permalink / raw)
  To: 30659

At the end of (info "(emacs) Init Rebinding")
there is an example,

     (add-hook 'texinfo-mode-hook
               (lambda ()
                 (define-key texinfo-mode-map "\C-cp"
                             'backward-paragraph)
                 (define-key texinfo-mode-map "\C-cn"
                             'forward-paragraph)))


Please add to this example also an example of undefining an existing key.
Else users will use local-unset-key that they find on (info "(emacs) Rebinding"),
which may or may not be correct.

If such example already exists, then please link it from this page.





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

end of thread, other threads:[~2019-10-14 20:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-28 20:13 bug#30659: Only local map define-key examples 積丹尼 Dan Jacobson
2018-03-01 15:36 ` Eli Zaretskii
2018-03-03  6:26   ` 積丹尼 Dan Jacobson
2018-03-03  8:34     ` Eli Zaretskii
2018-03-03  6:29   ` 積丹尼 Dan Jacobson
2018-03-03  8:36     ` Eli Zaretskii
2018-03-06 20:48       ` 積丹尼 Dan Jacobson
2019-10-14 20:24       ` Lars Ingebrigtsen

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.