emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 79e6110 113/187: Add comments, no--code-change.


From: Michael Albinus
Subject: [elpa] master 79e6110 113/187: Add comments, no--code-change.
Date: Wed, 30 Dec 2015 11:50:02 +0000

branch: master
commit 79e6110f42bd7c8eb246736a498c61c8609dab7c
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>

    Add comments, no--code-change.
---
 async-bytecomp.el |    2 ++
 async.el          |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/async-bytecomp.el b/async-bytecomp.el
index b7e8ae5..33562c1 100644
--- a/async-bytecomp.el
+++ b/async-bytecomp.el
@@ -49,6 +49,8 @@
            unless dir return nil
            for f in dir
            when (file-exists-p f) do (delete-file f))
+  ;; Ensure async is reloaded when async.elc is deleted.
+  ;; This happen when recompiling its directory.
   (load (locate-library "async"))
   (let ((call-back
          `(lambda (&optional ignore)
diff --git a/async.el b/async.el
index bb97674..c2ae576 100644
--- a/async.el
+++ b/async.el
@@ -268,6 +268,8 @@ returns nil.  It can still be useful, however, as an 
argument to
                        (expand-file-name invocation-name
                                          invocation-directory))
               ,finish-func
+              ;; Ensure we use the right file when the .elc have
+              ;; been deleted by using `locate-library'.
               "-Q" "-l" ,(locate-library "async")
               "-batch" "-f" "async-batch-invoke"
               (if async-send-over-pipe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]