emacs-devel
[Top][All Lists]
Advanced

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

RE: how about a find-library-other-window command?


From: Drew Adams
Subject: RE: how about a find-library-other-window command?
Date: Fri, 22 Jun 2007 13:40:49 -0700

> This duplicates the same code in three places.  If we are going to keep
> the practice of using three commands with different suffixes, then we can
> at least simplify the definition of window/frame commands?  These commands
> could just let-bind a variable indicating the scope of the commands, and
> call-interactively the basic command allowing `switch-to-buffer' to decide
> where to display the buffer.

Right; I agree. A variable or a helper function with a parameter or some
such, to factor the common code. I wasn't sure what the policy/preference
was. Feel free to factor things per the standard practice, whatever it might
be.





reply via email to

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