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

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

defun not working


From: Baloff
Subject: defun not working
Date: Tue, 19 Jul 2005 04:56:26 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113

Hello
I have this in my ~/.emacs

(defun edo-vertical-to-horizontal ()
(interactive)
(let ((one-buf (window-buffer (selected-window))))
(other-window 1)
(delete-other-window)
(split-window-horizontally)
(switch-to-buffer one-buf))

upone M-x edo-vertical-to-horizontal
it actually do horizontal to vertical which is the opposite to what it is suppost to do. it was working good last time I used it which was a year or so ago, I since upgraded my debain.

not sure why it would do this.

thanks


reply via email to

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