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

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

bug#23155: 24.5; 24.5.1 (i686-pc-ming32) other-window cannot take one ar


From: G. Kevin Zhu
Subject: bug#23155: 24.5; 24.5.1 (i686-pc-ming32) other-window cannot take one argument
Date: Wed, 30 Mar 2016 20:26:18 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hi Eli,

On 16-03-29 10:44 PM, Eli Zaretskii wrote:
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.


Thank you for the pointer. This does not happen in your method.

Furthermore, I could not duplicate the problem on my windows machine.


--
Sincerely yours,

G. Kevin Zhu





reply via email to

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