aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAlan Mackenzie2016-01-18 13:32:22 +0000
committerAlan Mackenzie2016-01-18 13:32:22 +0000
commit20defc5538de705fc6b39d5a754244e6787db162 (patch)
tree0b68d5c295c3f7c0f878b4654955fb6b43ce0962 /etc
parent130d512045aa376333b664d58c501b3884187592 (diff)
downloademacs-20defc5538de705fc6b39d5a754244e6787db162.tar.gz
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 'etc')
-rw-r--r--etc/NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c0be46f5ec8..e9b539a3785 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -315,6 +315,17 @@ current package keywords are recognized. Set the new option
315It's meant for use together with `compile': 315It's meant for use together with `compile':
316emacs -batch --eval "(checkdoc-file \"subr.el\")" 316emacs -batch --eval "(checkdoc-file \"subr.el\")"
317 317
318** Desktop
319
320---
321*** The desktop format version has been upgraded from 206 to 208.
322Although Emacs 25.1 can read a version 206 desktop, earlier Emacsen
323cannot read a version 208 desktop. To upgrade your desktop file, you
324must explicitly request the upgrade, by C-u M-x desktop-save. You are
325recommended to do this as soon as you have firmly upgraded to Emacs
32625.1 (or later). Should you ever need to downgrade your desktop file
327to version 206, you can do this with C-u C-u M-x desktop-save.
328
318+++ 329+++
319** New function `bookmark-set-no-overwrite' bound to C-x r M. 330** New function `bookmark-set-no-overwrite' bound to C-x r M.
320It raises an error if a bookmark of that name already exists, 331It raises an error if a bookmark of that name already exists,