aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 07c3df9e279..c8fb65e89e8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12013-02-25 Eli Zaretskii <eliz@gnu.org>
2
3 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
4 that match "\`\.#", to avoid compiling lock files, even if they
5 are readable (as they are on MS-Windows).
6
12013-02-25 Stefan Monnier <monnier@iro.umontreal.ca> 72013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * files.el (basic-save-buffer): Remove redundant directory-creation. 9 * files.el (basic-save-buffer): Remove redundant directory-creation.
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index f5861550c9a..e0837033c74 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1594,7 +1594,9 @@ that already has a `.elc' file."
1594 (setq directories (nconc directories (list source)))) 1594 (setq directories (nconc directories (list source))))
1595 ;; It is an ordinary file. Decide whether to compile it. 1595 ;; It is an ordinary file. Decide whether to compile it.
1596 (if (and (string-match emacs-lisp-file-regexp source) 1596 (if (and (string-match emacs-lisp-file-regexp source)
1597 ;; The next 2 tests avoid compiling lock files
1597 (file-readable-p source) 1598 (file-readable-p source)
1599 (not (string-match "\\`\\.#" file))
1598 (not (auto-save-file-name-p source)) 1600 (not (auto-save-file-name-p source))
1599 (not (string-equal dir-locals-file 1601 (not (string-equal dir-locals-file
1600 (file-name-nondirectory source)))) 1602 (file-name-nondirectory source))))