[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin 4866cb7 057/439: admin/archive-contents.el (archive-
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin 4866cb7 057/439: admin/archive-contents.el (archive--delete-elc-files): Delete backup files too. |
Date: |
Sun, 17 Oct 2021 15:47:33 -0400 (EDT) |
branch: elpa-admin
commit 4866cb7830dc884140f4236ec8a0f0781ba6d0fb
Author: Chong Yidong <cyd@stupidchicken.com>
Commit: Chong Yidong <cyd@stupidchicken.com>
admin/archive-contents.el (archive--delete-elc-files): Delete backup files
too.
---
admin/archive-contents.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index 21e5733..e94093a 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -46,11 +46,13 @@ Otherwise return nil."
(error nil))))
(defun archive--delete-elc-files (dir)
- "Recursively delete all .elc files in DIR."
+ "Recursively delete all .elc files in DIR.
+Delete backup files also."
(dolist (f (directory-files dir t archive-re-no-dot))
(cond ((file-directory-p f)
(archive--delete-elc-files f))
- ((string-match "\\.elc\\'" f)
+ ((or (string-match "\\.elc\\'" f)
+ (backup-file-name-p f))
(delete-file f)))))
(defun batch-make-archive ()
- [nongnu] elpa-admin ab46aeb 014/439: Relative loads for Emacs Lisp files. Adds functions __FILE__ and, (continued)
- [nongnu] elpa-admin ab46aeb 014/439: Relative loads for Emacs Lisp files. Adds functions __FILE__ and, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5bb5972 016/439: load-relative.el: Add provide-me and make GPL v3., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d656221 020/439: Track original positions in the face of possible edits. Intended use in debugging where one might edit the file but continue editing., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 487ee79 022/439: Update README to note dependencies and what debugger's we've got., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a53e009 023/439: Merge branch 'master' of github.com:rocky/emacs-dbgr, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 8b07a20 027/439: * README: Explain how to run the repo build script., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 370423c 026/439: * COPYING, ChangeLog, README, admin/org-synch.el,, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a703bf2 025/439: Merge branch 'master' of github.com:rocky/emacs-load-relative, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 14ac0ef 040/439: Merge branch 'action', Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 35ba6e2 055/439: Update README to describe the new repository layout., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 4866cb7 057/439: admin/archive-contents.el (archive--delete-elc-files): Delete backup files too.,
Philip Kaludercic <=
- [nongnu] elpa-admin 3ca74c1 011/439: preparing for new rst format document, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 7b9d56b 038/439: README: Move copyright and license text to the end, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 1329950 024/439: Administrivia. Add COPYING, update README and .gitignore, bump version number., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin f545af1 036/439: Rephrase some parts of README, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 1761424 031/439: Use archive-contents.el script., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 5bbab91 030/439: * packages/all-1.0.el: Change version. Address byte-compiler warnings., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 06a86aa 043/439: Add an explicit OPERATION-MODE "nil" in README's examples, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin c51af29 058/439: Reorganize repository layout, allowing site installation., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 988d3f5 059/439: Add a table of contents to README file, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d6dfeed 050/439: Fix last change., Philip Kaludercic, 2021/10/17