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: Yuan Fu
Subject: Re: Extend gdb to filter registers
Date: Wed, 16 Oct 2019 23:27:09 -0400

Before anyone slap me for it, here is another fix for the macro.

    (defmacro with-window-undedicated (&rest body)
      "Run BODY in WINDOW with window-dedicated temporarily disabled. "
      (let ((window-dedicated-sym (gensym)))
        `(let ((,window-dedicated-sym (window-dedicated-p)))
           (when ,window-dedicated-sym
             (set-window-dedicated-p nil nil))
           ,@body
           (when ,window-dedicated-sym
             (set-window-dedicated-p nil t)))))

Yuan



reply via email to

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