diff options
| author | Glenn Morris | 2010-09-08 08:59:10 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-09-08 08:59:10 -0700 |
| commit | 13639aab35819fbbe0d414e57b955d49c7affd86 (patch) | |
| tree | cd5b7aa0e97d2233816dc1aa87ac02250ab416b2 | |
| parent | 331b2b903c38ff232cf0ba4c4fea50871fda24ac (diff) | |
| download | emacs-13639aab35819fbbe0d414e57b955d49c7affd86.tar.gz emacs-13639aab35819fbbe0d414e57b955d49c7affd86.zip | |
* emacs-lisp/bytecomp.el (byte-recompile-directory): Ignore dir-locals-file.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fdc7a9b85c9..78f6429b181 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-09-08 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/bytecomp.el (byte-recompile-directory): | ||
| 4 | Ignore dir-locals-file. | ||
| 5 | |||
| 1 | 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * progmodes/compile.el (compilation-error-regexp-alist-alist): | 8 | * progmodes/compile.el (compilation-error-regexp-alist-alist): |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index c42292a2787..b1aa4a32b25 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | ;;; bytecomp.el --- compilation of Lisp code into byte code | 1 | ;;; bytecomp.el --- compilation of Lisp code into byte code |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1998, 2000, 2001, 2002, | 3 | ;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1998, 2000, 2001, 2002, |
| 4 | ;; 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
| 5 | ;; Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | ;; Author: Jamie Zawinski <jwz@lucid.com> | 7 | ;; Author: Jamie Zawinski <jwz@lucid.com> |
| 7 | ;; Hallvard Furuseth <hbf@ulrik.uio.no> | 8 | ;; Hallvard Furuseth <hbf@ulrik.uio.no> |
| @@ -1548,6 +1549,9 @@ that already has a `.elc' file." | |||
| 1548 | (if (and (string-match emacs-lisp-file-regexp bytecomp-source) | 1549 | (if (and (string-match emacs-lisp-file-regexp bytecomp-source) |
| 1549 | (file-readable-p bytecomp-source) | 1550 | (file-readable-p bytecomp-source) |
| 1550 | (not (auto-save-file-name-p bytecomp-source)) | 1551 | (not (auto-save-file-name-p bytecomp-source)) |
| 1552 | (not (string-equal dir-locals-file | ||
| 1553 | (file-name-nondirectory | ||
| 1554 | bytecomp-source))) | ||
| 1551 | (setq bytecomp-dest | 1555 | (setq bytecomp-dest |
| 1552 | (byte-compile-dest-file bytecomp-source)) | 1556 | (byte-compile-dest-file bytecomp-source)) |
| 1553 | (if (file-exists-p bytecomp-dest) | 1557 | (if (file-exists-p bytecomp-dest) |