[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Re: remember to stay in current window
From: |
Sacha Chua |
Subject: |
[emacs-wiki-discuss] Re: remember to stay in current window |
Date: |
Tue, 29 Mar 2005 22:44:13 +0800 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Rino Mardo <address@hidden> writes:
> i'm using planner-remember extensively and one thing that annoys me is
> everytime i do planner-create-note-from-task it opens the same buffer
> in another window.
> how can i make it use the current window the cursor is in?
Try the following Lisp code. =)
(defadvice planner-create-note-from-task (around joroxx activate)
"Stay in the same window."
(let ((planner-use-other-window nil))
ad-do-it))
Hope that helps!
--
Sacha Chua <address@hidden> - open source geekette
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
interests: emacs, gnu/linux, personal information management, CS ed
sachac on irc.freenode.net#emacs . YM: sachachua83