emacs-devel
[Top][All Lists]
Advanced

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

Re: Extend gdb to filter registers


From: martin rudalics
Subject: Re: Extend gdb to filter registers
Date: Sat, 18 Jan 2020 19:41:37 +0100

> gdb-mi.el has gdb-display-buffer, which makes the window dedicated.
> It also has some code in gdb-display-source-buffer.  Neither of those
> uses display-buffer, AFAICT.  So where do the split thresholds come
> into play in the scenario mentioned?

Here

(defun gdb-display-buffer (buf)
  "Show buffer BUF, and make that window dedicated."
  (let ((window (display-buffer buf)))
                 ^^^^^^^^^^^^^^^^^^
    (set-window-dedicated-p window t)
    window))

martin



reply via email to

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