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

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

Re: desktop.el and frame parameters when -nw


From: Eli Zaretskii
Subject: Re: desktop.el and frame parameters when -nw
Date: Wed, 25 Jul 2018 17:29:21 +0300

> Date: Wed, 25 Jul 2018 08:33:40 +0200
> From: martin rudalics <rudalics@gmx.at>
> Cc: help-gnu-emacs@gnu.org
> 
> (defun desktop-restoring-frameset-p ()
>    "True if calling `desktop-restore-frameset' will actually restore it."
>    (and desktop-restore-frames desktop-saved-frameset (display-graphic-p) t))
> 
> Try removing the (display-graphic-p).  But I'm quite confident that
> this will get you into lots of other troubles.

Neither do I.  I think we need to look into this more carefully, as
that test wasn't added there by chance.  And there _are_ frame
parameters which we do NOT want to restore in TTY frames.



reply via email to

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