[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to bind M-<kp>-2
From: |
Julien Cubizolles |
Subject: |
How to bind M-<kp>-2 |
Date: |
Sun, 30 Aug 2015 12:12:37 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
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.
- How to bind M-<kp>-2,
Julien Cubizolles <=