diff options
author | Alan Mackenzie <acm@muc.de> | 2016-01-18 13:32:22 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2016-01-18 13:32:22 +0000 |
commit | 20defc5538de705fc6b39d5a754244e6787db162 (patch) | |
tree | 0b68d5c295c3f7c0f878b4654955fb6b43ce0962 /lisp/emacs-lisp/cl.el | |
parent | 130d512045aa376333b664d58c501b3884187592 (diff) | |
download | emacs-20defc5538de705fc6b39d5a754244e6787db162.tar.gz emacs-20defc5538de705fc6b39d5a754244e6787db162.tar.bz2 emacs-20defc5538de705fc6b39d5a754244e6787db162.zip |
Desktop: protect users against inadvertant upgrading of desktop file.
An upgraded (version 208) desktop file cannot be read in Emacs < 25.
* etc/NEWS: Add an entry about upgrading a desktop file.
* lisp/desktop.el (desktop-file-version): Amend doc string.
(desktop-native-file-version, desktop-io-file-version): new variables.
(desktop-clear): Set desktop-io-file-version to nil.
(desktop-buffer-info): make the presence of the last item on the list
conditional on (>= desktop-io-file-version 208).
(desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
Amend the doc string. Add code to determine the output file version.
(desktop-create-buffer): Set desktop-io-file-version to the input file's
version.
Diffstat (limited to 'lisp/emacs-lisp/cl.el')
0 files changed, 0 insertions, 0 deletions