开发者

In Emacs how can I use "Other-window" from an elisp script?

Everytime I use other-window I get the error:

Wrong numbe开发者_JS百科r of arguments: #, 0


(other-window 1)

The argument "specifies the number of windows to skip, starting with the selected window, before making the selection."


You can use this shortcut: C-hfother-window

(other-window COUNT &optional ALL-FRAMES)

You have one non-optional argument. And information on what arguments are, and what they do.


I recommend reading An Introduction To Programming in Emacs Lisp, as well as learning about M-x describe-function (aka C-h f) which will give you documentation for a given function.


I do not know why it doesn't work. I just do

(other-window 1)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜