Subject: bug#2138: 23.0.60; --daemon and ediff-window-setup-function

From: Dan Nicolaescu <[email-masked]>
Date: Sat, 31 Jan 2009 22:05:07 -0800 (PST)

Stephen Berman <[email-masked]> writes:

  > Start Emacs like this:
  > 
  > 1. emacs -Q --eval "(require 'ediff)"
  > 2. emacsclient -c
  > 3. C-h v ediff-window-setup-function
  > => ediff-setup-windows-multiframe
  > 
  > Now start Emacs like this:
  > 
  > 1. emacs -Q --daemon --eval "(require 'ediff)"
  > 2. emacsclient -c
  > 3. C-h v ediff-window-setup-function
  > => ediff-setup-windows-plain
  > 
  > 
  > I haven't tried debugging this, but my first guess is that
  > ediff-setup-windows-multiframe requires non-nil window-system but (still
  > guessing) when there is no frame window-system evaluates to nil.

You can take --daemon out of this equation, you'd  get the same when
doing 
emacs -Q and emacs -Q -nw