emacs-devel
[Top][All Lists]
Advanced

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

Re: uniquify & advice


From: Stefan Monnier
Subject: Re: uniquify & advice
Date: Fri, 06 Jun 2003 11:31:15 -0400

> uniquify.el still uses `defadvice' for some of its functionality;
> shouldn't we just add appropriate code (or hooks) to the underlying
> functions instead?
> 
> Here's what it uses:
> 
>    (defadvice rename-buffer (after rename-buffer-uniquify activate)
>      "Uniquify buffer names with parts of directory name."
> 
>    (defadvice create-file-buffer (after create-file-buffer-uniquify activate)
>      "Uniquify buffer names with parts of directory name."

Yes.  I remember looking at it in the past and ended up not doing it
because I couldn't come up with a good hook.


        Stefan





reply via email to

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