summaryrefslogtreecommitdiff
path: root/lisp/frameset.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2014-03-23 23:14:11 +0100
committerJuanma Barranquero <lekktu@gmail.com>2014-03-23 23:14:11 +0100
commitee79b33f490f476db6ebde90eff5268588d32207 (patch)
tree3aea21787b4e4ecc6d8e99ac5abc1ec62bcf3a64 /lisp/frameset.el
parent3ea2c7811bb678c31ee2db467080c397cbf9e3a7 (diff)
downloademacs-ee79b33f490f476db6ebde90eff5268588d32207.tar.gz
lisp/frameset.el (frameset-restore): Compare display strings with equal.
Diffstat (limited to 'lisp/frameset.el')
-rw-r--r--lisp/frameset.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/frameset.el b/lisp/frameset.el
index 05fae1b4fa2..50055bb2782 100644
--- a/lisp/frameset.el
+++ b/lisp/frameset.el
@@ -1146,8 +1146,8 @@ All keyword parameters default to nil."
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))))