Permalink
Browse files

Remove hack for killing dangling autoloads buffers after package inst…

…allation
  • Loading branch information...
1 parent 515cb8f commit 7730fcf0632d4f0955ef0d9367d2c8fa818f1f0d @purcell committed Mar 23, 2013
Showing with 0 additions and 11 deletions.
  1. +0 −11 init-elpa.el
View
@@ -13,17 +13,6 @@
;;------------------------------------------------------------------------------
-;; Patch up annoying package.el quirks
-;;------------------------------------------------------------------------------
-
-(defadvice package-generate-autoloads (after close-autoloads (name pkg-dir) activate)
- "Stop package.el from leaving open autoload files lying around."
- (let ((path (expand-file-name (concat name "-autoloads.el") pkg-dir)))
- (with-current-buffer (find-file-existing path)
- (kill-buffer nil))))
-
-
-;;------------------------------------------------------------------------------
;; Add support to package.el for pre-filtering available packages
;;------------------------------------------------------------------------------

0 comments on commit 7730fcf

Please sign in to comment.