Function: def-gdb-preempt-display-buffer

def-gdb-preempt-display-buffer is a macro defined in gdb-mi.el.gz.

Signature

(def-gdb-preempt-display-buffer NAME BUFFER &optional DOC SPLIT-HORIZONTAL)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
;; Used to display windows with thread-bound buffers
(defmacro def-gdb-preempt-display-buffer (name buffer &optional doc
					       split-horizontal)
  (declare (indent defun))
  `(defun ,name (&optional thread)
     ,(when doc doc)
     (message "%s" thread)
     (gdb-preempt-existing-or-display-buffer
      (gdb-get-buffer-create ,buffer thread)
      ,split-horizontal)))