all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to bind M-<kp>-2
@ 2015-08-30 10:12 Julien Cubizolles
  2015-08-30 19:47 ` Random832
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Cubizolles @ 2015-08-30 10:12 UTC (permalink / raw)
  To: help-gnu-emacs

I get "M- must prefix a single character, not <kp>-2" when attempting to
rebind some smartparens functions in order to avoid conflicts in
org-mode.

I tried:
--8<---------------cut here---------------start------------->8---

(setq sp-override-key-bindings
   '(("M-<kp>-2" . sp-splice-sexp-killing-forward)
    ("M-<kp>-8" . sp-splice-sexp-killing-backward)))

(sp--update-override-key-bindings)
--8<---------------cut here---------------end--------------->8---


Julien.




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

end of thread, other threads:[~2015-10-05  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-30 10:12 How to bind M-<kp>-2 Julien Cubizolles
2015-08-30 19:47 ` Random832
2015-10-05  5:05   ` Julien Cubizolles

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.