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

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

Re: (unknown)


From: Óscar Fuentes
Subject: Re: (unknown)
Date: Thu, 02 May 2019 02:40:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Budi <budikusasi@gmail.com> writes:

> how to assign shortcut key i.e. bind a key to do M-x ielm <ret>
> sequence in emacs
>
> tried;
>
> (defun d () (interactive)(command-execute (execute-extended-command "ielm")))
> (global-set-key (kbd "<f1>") 'd)
>
> to no avail...
> Please help me!

Try

(global-set-key (kbd "<f1>") 'ielm)

In the future, please use an appropriate Subject field on your
enquiries. Thanks.




reply via email to

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