X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/4fc35edd5fcdfe258c04cfed707753fdd8795a72..6dc0bafd5915b01a341cc0efbc744abd73163872:/lisp/frameset.el diff --git a/lisp/frameset.el b/lisp/frameset.el index 4a0637439d..2453f57e22 100644 --- a/lisp/frameset.el +++ b/lisp/frameset.el @@ -1,6 +1,6 @@ ;;; frameset.el --- save and restore frame and window setup -*- lexical-binding: t -*- -;; Copyright (C) 2013-2015 Free Software Foundation, Inc. +;; Copyright (C) 2013-2016 Free Software Foundation, Inc. ;; Author: Juanma Barranquero ;; Keywords: convenience @@ -354,12 +354,12 @@ Properties can be set with ;; Now, what about the filter alist variables? There are three of them, ;; though only two sets of parameters: ;; -;; - `frameset-session-filter-alist' contains these filters that allow to -;; save and restore framesets in-session, without the need to serialize -;; the frameset or save it to disk (for example, to save a frameset in a -;; register and restore it later). Filters in this list do not remove -;; live objects, except in `minibuffer', which is dealt especially by -;; `frameset-save' / `frameset-restore'. +;; - `frameset-session-filter-alist' contains these filters that allow +;; saving and restoring framesets in-session, without the need to +;; serialize the frameset or save it to disk (for example, to save a +;; frameset in a register and restore it later). Filters in this +;; list do not remove live objects, except in `minibuffer', which is +;; dealt especially by `frameset-save' / `frameset-restore'. ;; ;; - `frameset-persistent-filter-alist' is the whole deal. It does all ;; the filtering described above, and the result is ready to be saved on @@ -1022,8 +1022,8 @@ Internal use only." (defun frameset-keep-original-display-p (force-display) "True if saved frames' displays should be honored. For the meaning of FORCE-DISPLAY, see `frameset-restore'." - (cond ((daemonp) t) - ((eq system-type 'windows-nt) nil) ;; Does ns support more than one display? + (cond ((eq system-type 'windows-nt) nil) ;; Does ns support more than one display? + ((daemonp) t) (t (not force-display)))) (defun frameset-minibufferless-first-p (frame1 _frame2) @@ -1072,7 +1072,7 @@ FORCE-ONSCREEN can be: - a list (LEFT TOP WIDTH HEIGHT), describing the workarea. It must return non-nil to force the frame onscreen, nil otherwise. -CLEANUP-FRAMES allows to \"clean up\" the frame list after restoring a frameset: +CLEANUP-FRAMES allows \"cleaning up\" the frame list after restoring a frameset: t Delete all frames that were not created or restored upon. nil Keep all frames. FUNC A function called with two arguments: