Fork me on GitHub
#emacs
<
2017-01-14
>
ejelome05:01:37

anyone remembers how to execute a keybinding in .emacs? e.g. I want to execute C-x C-b using .emacs for example, I forgot this XD

dottedmag22:01:21

ejelome: C-x C-b runs the command list-buffers, so I suppose it's just (list-buffers).

dottedmag22:01:36

Or do you mean something completely different?

ejelome22:01:02

I meant executing a key press from the .emacs file itself

ejelome22:01:50

it was just a sample but fortunately, I got the right command and the idea became unnecessary XD