Subject: Re: bug#17957: 24.3.92; Bad interaction between "emacs --daemon" and "desktop-save-mode"

From: Glenn Morris <[email-masked]>
Date: Wed, 16 Jul 2014 00:35:11 -0400

Benjamin Riefenstahl wrote:

>   mkdir /tmp/t
>   cd /tmp/t
>   cat > .emacs <<EOF
>     (add-to-list 'window-system-default-frame-alist '(nil . ((menu-bar-lines . 0))))
>     (desktop-save-mode 1)
>   EOF
>   HOME=$PWD emacs --daemon
>   emacsclient -n -c
>
> Now in Emacs execute the commands 
>
>   desktop-save
>   kill-emacs
>
> Restart Emacs with
>
>   HOME=$PWD emacs --daemon
>
> The menu bar has disappeared and a get an error message:
>
>   Error (frameset): Wrong type argument: number-or-marker-p, nil

Thanks for the nice report.

Following my change for

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17693

this issue does not seem to occur any more.