]> git.eshelyaron.com Git - emacs.git/commit
lisp/frameset.el: Separate frame reusing from cleaning up.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 11 Mar 2014 00:46:07 +0000 (01:46 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 11 Mar 2014 00:46:07 +0000 (01:46 +0100)
commit4538c058d073cedeff92a50211b415a2e57c3469
treee7c8b9beaa515042c850052ab37a789e21ba26f4
parentf38145ba81691d60f3a8e3198e4754359c8b8a55
lisp/frameset.el: Separate frame reusing from cleaning up.

* lisp/desktop.el (desktop-restore-forces-onscreen)
  (desktop-restore-reuses-frames): Use non-keyword values.
  (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.

* lisp/frameset.el: Separate options for reusing frames and cleaning up.
  (frameset--reuse-list): Remove definition; declare.
  (frameset--action-map): Declare.
  (frameset--find-frame-if): Doc fix.
  (frameset--restore-frame): Cache frame action.
  (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
  how to clean up the frame list after restoring.  Remove cleaning
  options from REUSE-FRAMES.  Change all keyword values to symbols.
  (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
lisp/ChangeLog
lisp/desktop.el
lisp/frameset.el