* lisp/desktop.el: Make use some "new" functionality
commit5bebacc476259f854d3735a6dc5a639016f1673a
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 14 Mar 2018 16:14:01 +0000 (14 12:14 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 14 Mar 2018 16:14:01 +0000 (14 12:14 -0400)
treed2c985359e0ccd14130ec073dc9dd9911c82cd28
parentd993d00394707e69b6ac7befeb72140d9b12a4e9
* lisp/desktop.el: Make use some "new" functionality

(desktop-files-not-to-save, desktop-clear):
Use \` and \' when we don't intend to match newlines.
(desktop-minor-mode-table): Remove auto-fill-function entry.
(desktop-buffer-info): Use :minor-mode-function instead.
(desktop--v2s): Use a closure rather than a backquoted lambda.
(desktop-save): Set 'lexical-binding' in the saved file.
Use 'utf-8-emacs' encoding rather than the old 'emacs-mule'.
(desktop-read): Use 'default-value' to get the global part of a hook.
lisp/desktop.el