Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cca09170
Commit
cca09170
authored
Aug 01, 2011
by
Stefan Monnier
Browse files
* lisp/emacs-lisp/package.el (package-generate-autoloads): Load autoloads
before binding generated-autoload-file.
parent
027b979c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+1
-1
No files found.
lisp/ChangeLog
View file @
cca09170
2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/package.el (package-generate-autoloads): Load autoloads
before binding generated-autoload-file.
2011-08-01 Deniz Dogan <deniz@dogan.se>
* net/rcirc.el (rcirc-handler-333): Clarify docstring.
...
...
lisp/emacs-lisp/package.el
View file @
cca09170
...
...
@@ -570,11 +570,11 @@ EXTRA-PROPERTIES is currently unused."
file
)
(
defun
package-generate-autoloads
(
name
pkg-dir
)
(
require
'autoload
)
;Load before we let-bind generated-autoload-file!
(
let*
((
auto-name
(
concat
name
"-autoloads.el"
))
(
ignore-name
(
concat
name
"-pkg.el"
))
(
generated-autoload-file
(
expand-file-name
auto-name
pkg-dir
))
(
version-control
'never
))
(
require
'autoload
)
(
unless
(
fboundp
'autoload-ensure-default-file
)
(
package-autoload-ensure-default-file
generated-autoload-file
))
(
update-directory-autoloads
pkg-dir
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment