emacs-devel
[Top][All Lists]
Advanced

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

Re: completion-list-mode-map


From: Christoph Scholtes
Subject: Re: completion-list-mode-map
Date: Sat, 03 Sep 2011 14:01:48 -0600
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1

On 9/3/2011 12:33 PM, Chong Yidong wrote:

For now, you will just have to advise quit-window, to make its KILL
argument always t.

OK. Would this be the correct way to swap the kill/bury behavior?

(defadvice quit-window (before advise-quit-window activate)
  (if (ad-get-arg 0)
      (ad-set-arg 0 nil)
    (ad-set-arg 0 t)))

Thanks,
Christoph



reply via email to

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