1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

lisp/frameset.el (frameset-restore): Compare display strings with equal.

This commit is contained in:
Juanma Barranquero 2014-03-23 23:14:11 +01:00
parent 3ea2c7811b
commit ee79b33f49
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2014-03-23 Juanma Barranquero <lekktu@gmail.com> 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, * frame.el (make-frame): Don't quote display name in error message,
it is already a string. it is already a string.

View File

@ -1146,7 +1146,7 @@ All keyword parameters default to nil."
frame to-tty duplicate) frame to-tty duplicate)
;; Only set target if forcing displays and the target display is different. ;; Only set target if forcing displays and the target display is different.
(unless (or (frameset-keep-original-display-p force-display) (unless (or (frameset-keep-original-display-p force-display)
(eq (frame-parameter nil 'display) (equal (frame-parameter nil 'display)
(cdr (assq 'display frame-cfg)))) (cdr (assq 'display frame-cfg))))
(setq frameset--target-display (cons 'display (setq frameset--target-display (cons 'display
(frame-parameter nil 'display)) (frame-parameter nil 'display))