"PKGNAME-autoloads.el" in case we created it.
+2012-10-28 Daniel Hackney <dan@haxney.org>
+
+ * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
+ "PKGNAME-autoloads.el" in case we created it.
+
2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (completion--sifn-requote): Rewrite to handle things
(version-control 'never))
(unless (fboundp 'autoload-ensure-default-file)
(package-autoload-ensure-default-file generated-autoload-file))
- (update-directory-autoloads pkg-dir)))
+ (update-directory-autoloads pkg-dir)
+ (let ((buf (find-buffer-visiting generated-autoload-file)))
+ (when buf (kill-buffer buf)))))
(defvar tar-parse-info)
(declare-function tar-untar-buffer "tar-mode" ())