help-gnu-emacs
[Top][All Lists]
Advanced

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

define-key with command arguments


From: Adam Kandur
Subject: define-key with command arguments
Date: Wed, 10 Feb 2021 13:00:49 +0100 (CET)

hi everyone! is it possible to do something like his

(define-derived-mode test special-mode "test"
  (define-key test-func (kbd "SPC")     'test-func-with (arg)))
so, i wanna pass variable in function i'm going to run with keyboard binding. 
is it possible?




reply via email to

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