Fixed byte compilation warning: assignment to free variable "for".
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 02 Jan 2021 22:41:10 +0200
changeset 1686 bedbd1cd366d
parent 1685 6a740def74e8
child 1687 3f69332472cb
Fixed byte compilation warning: assignment to free variable "for".
.emacs-my
--- a/.emacs-my	Sat Jan 02 22:38:46 2021 +0200
+++ b/.emacs-my	Sat Jan 02 22:41:10 2021 +0200
@@ -1994,7 +1994,7 @@
 Without prefix work on current file. With prefix work on
 `org-agenda-files'."
   (interactive "P")
-  (loop for file in (if prefix (org-agenda-files) (list (buffer-file-name))) do
+  (cl-loop for file in (if prefix (org-agenda-files) (list (buffer-file-name))) do
         (my-org-archive-file file)))
 
 (setq org-agenda-include-diary nil)