2014-03-23 Juanma Barranquero <lekktu@gmail.com>
+ * frameset.el (frameset-restore): Compare display strings with equal.
+
* frame.el (make-frame): Don't quote display name in error message,
it is already a string.
frame to-tty duplicate)
;; Only set target if forcing displays and the target display is different.
(unless (or (frameset-keep-original-display-p force-display)
- (eq (frame-parameter nil 'display)
- (cdr (assq 'display frame-cfg))))
+ (equal (frame-parameter nil 'display)
+ (cdr (assq 'display frame-cfg))))
(setq frameset--target-display (cons 'display
(frame-parameter nil 'display))
to-tty (null (cdr frameset--target-display))))