diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2013-07-22 03:25:47 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2013-07-22 03:25:47 +0200 |
commit | a1c80d9d45a2182cf9c42904bd1cc418ac233977 (patch) | |
tree | 64914c6da3623f6eb9df790627790b08d7694080 /lisp/emacs-lisp/easy-mmode.el | |
parent | 70f1b5e80dc89fae57cf7c97df915db99ca31237 (diff) | |
download | emacs-a1c80d9d45a2182cf9c42904bd1cc418ac233977.tar.gz emacs-a1c80d9d45a2182cf9c42904bd1cc418ac233977.tar.bz2 emacs-a1c80d9d45a2182cf9c42904bd1cc418ac233977.zip |
lisp/desktop.el: Require 'cl-lib.
(desktop-before-saving-frames-functions): New hook.
(desktop--process-minibuffer-frames): Set desktop-mini parameter only
for frames being saved. Rename from desktop--save-minibuffer-frames.
(desktop-save-frames): Run hook desktop-before-saving-frames-functions.
Do not save frames with non-nil `desktop-dont-save' parameter. Filter
out deleted frames.
(desktop--find-frame): Use cl-find-if.
(desktop--select-frame): Use cl-(first|second|third) to access values
of desktop-mini.
(desktop--make-frame): Use cl-delete-if.
(desktop--sort-states): Fix sorting of minibuffer-owning frames.
(desktop-restore-frames): Use cl-(first|second|third) to access values
of desktop-mini. Look for visible frame at the end, not while
restoring frames.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
0 files changed, 0 insertions, 0 deletions