Date: Tue, 29 Mar 2016 13:15:55 -0400
From: Guangran Kevin Zhu <g.kevin.zhu@ieee.org>
In the .emacs file, insert
(defun my-previous-window ()
(interactive)
(other-window -1))
Run this function and receive the following error message:
Wrong number of arguments: (lambda nil "Select the previous window."
(interactive) ((other-window) -1)), 3
I cannot reproduce this. Does this happen for you in "emacs -Q", if
you evaluate the definition of my-previous-window in the *scratch*
buffer? If it works then, you should look into your .emacs for the
reason of the error.