mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
lisp/frameset.el (frameset-restore): Compare display strings with equal.
This commit is contained in:
parent
3ea2c7811b
commit
ee79b33f49
@ -1,5 +1,7 @@
|
||||
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.
|
||||
|
||||
|
@ -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))))
|
||||
|
Loading…
Reference in New Issue
Block a user