]> git.eshelyaron.com Git - emacs.git/commit
Write autoloads file atomically
authorGlenn Morris <rgm@gnu.org>
Sun, 7 May 2017 00:58:20 +0000 (17:58 -0700)
committerGlenn Morris <rgm@gnu.org>
Sun, 7 May 2017 00:58:20 +0000 (17:58 -0700)
commit7f3d63908cd05fb34347d942e435c2964cd8b249
tree3754fe9bb3be3da23196601a2908b112e0434122
parent03d941982fbdf96260fc47d1cafbdda78c1d128e
Write autoloads file atomically

* lisp/emacs-lisp/autoload.el (autoload--save-buffer):
New function, to save buffer atomically.
(autoload-save-buffers, update-directory-autoloads):
Use autoload--save-buffer.
* lisp/Makefile.in ($(lisp)/loaddefs.el):
No longer write to a temp file by hand.
lisp/Makefile.in
lisp/emacs-lisp/autoload.el