Commit b99cc853 authored by Thien-Thi Nguyen's avatar Thien-Thi Nguyen
Browse files

(byte-recompile-directory): Fix bug:

Don't expand top-level file name more than once.
parent 70b49e57
2007-09-01 Thien-Thi Nguyen <ttn@gnuvola.org>
* emacs-lisp/bytecomp.el (byte-recompile-directory):
Fix bug: Don't expand top-level file name more than once.
2007-09-01 Richard Stallman <rms@gnu.org>
 
* files.el (hack-local-variables-confirm): Rename arg VARS to ALL-VARS.
......@@ -1549,7 +1549,7 @@ recompile every `.el' file that already has a `.elc' file."
;; compilation-mode copies value of default-directory.
(unless (eq major-mode 'compilation-mode)
(compilation-mode))
(let ((directories (list (expand-file-name directory)))
(let ((directories (list default-directory))
(default-directory default-directory)
(skip-count 0)
(fail-count 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment