emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keybinding doubt about ARG


From: Ypo
Subject: Keybinding doubt about ARG
Date: Sun, 19 Jun 2022 17:50:43 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

Is it possible to use ARG when defining keybindings?

For the command (scroll-up-command &optional ARG) I want to define this keybind:   


(define-key global-map (kbd "M-n") 'scroll-up-command 1)


But:

eval-region: Wrong number of arguments: define-key, 4


reply via email to

[Prev in Thread] Current Thread [Next in Thread]