Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a bug in regen-autoloads.

  • Loading branch information...
commit cc5b4ee6569b0a8ef2b219c65b8a362dd72c0048 1 parent f336f9a
@technomancy authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 starter-kit-defuns.el
View
10 starter-kit-defuns.el
@@ -112,11 +112,11 @@
(interactive)
(let ((autoload-dir (concat dotfiles-dir "/elpa-to-submit"))
(generated-autoload-file autoload-file))
- (if (or (not (file-exists-p autoload-file))
- (some (lambda (f) (file-newer-than-file-p f autoload-file))
- (directory-files autoload-dir t "\\.el$")))
- (message "Updating autoloads...")
- (update-directory-autoloads)))
+ (when (or (not (file-exists-p autoload-file))
+ (some (lambda (f) (file-newer-than-file-p f autoload-file))
+ (directory-files autoload-dir t "\\.el$")))
+ (message "Updating autoloads...")
+ (update-directory-autoloads autoload-dir)))
(load autoload-file))
;; TODO: fix this
Please sign in to comment.
Something went wrong with that request. Please try again.