help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: make xref--show-location reuse current window


From: address@hidden
Subject: Re: make xref--show-location reuse current window
Date: Thu, 21 Dec 2017 13:55:03 +0800

You can use this config:

(add-to-list 'display-buffer-alist
             '("^\\*xref\\*$" (display-buffer-same-window)))



[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Fri, Dec 15, 2017 at 12:42 AM, Emanuel Berg <moasen@zoho.com> wrote:

> Amos Bird wrote:
>
> > What can I do to make xref--show-location
> > reuse current source window?
>
> In general, look for an option (setting) to do
> this, if there isn't one, see if the interface
> takes an argument (if so, write a small Elisp
> wrapper that always passes the same argument
> value), but if it doesn't, examine the code to
> see where this actually happens, then remove or
> alter it in a ~duplicated function.
>
> I could perhaps offer better help, if I had
> that function to begin with. But I don't and
> I have nothing xref- at all actually. What is
> it and how did you get it?
>
> --
> underground experts united
> http://user.it.uu.se/~embe8573
>


reply via email to

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