emacs-devel
[Top][All Lists]
Advanced

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

Re: Advising quit-window


From: Christoph Scholtes
Subject: Re: Advising quit-window
Date: Tue, 25 Oct 2011 20:52:22 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (windows-nt)

Juanma Barranquero <address@hidden> writes:

> Why don't you do
>
> (defadvice quit-window (before advise-quit-window activate)
>   (when (called-interactively-p 'any)
>     (ad-set-arg 0 (not (ad-get-arg 0)))))

Nice, thanks. I will give this a try.



reply via email to

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