[ESS] rewire C-RET to M-RET
Vitalie Spinu
spinuvit at gmail.com
Wed Nov 6 23:40:23 CET 2013
>>> Andreas Leha on Wed, 6 Nov 2013 23:17:23 +0100 wrote:
VS> [...]
>> Note that in 'emacs -nw', if I run
>> M-x local-set-key M-RET ess-eval-region-or-line-and-step
>> it works.
VS> If you do
VS> M-: (define-key ess-mode-map [(meta return)] 'ess-eval-region-or-line-and-step)
VS> does it work?
I checked it myself ... it doesn't.
Use
(define-key ess-mode-map (kbd "M-RET") 'ess-eval-region-or-line-and-step)
instead. Never figured out what is the difference.
Vitalie
More information about the ESS-help
mailing list