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

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

[nongnu] elpa/org-auto-tangle 5cc389669d 27/56: removed concat function


From: ELPA Syncer
Subject: [nongnu] elpa/org-auto-tangle 5cc389669d 27/56: removed concat function and instead used formatted functions
Date: Mon, 6 Jun 2022 11:58:53 -0400 (EDT)

branch: elpa/org-auto-tangle
commit 5cc389669d0f390392d5a0955b9e717bcb218745
Author: lispy-dobby <yilkalargawworkneh@gmail.com>
Commit: lispy-dobby <yilkalargawworkneh@gmail.com>

    removed concat function and instead used formatted functions
---
 org-auto-tangle.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/org-auto-tangle.el b/org-auto-tangle.el
index 5d74400c54..019f898aa5 100644
--- a/org-auto-tangle.el
+++ b/org-auto-tangle.el
@@ -69,10 +69,9 @@
        (let ((start-time (current-time)))
          (apply #'org-babel-tangle-file ',args)
          (format "%.2f" (float-time (time-since start-time))))))
-   (let ((message-string (format "Tangling %S completed after " file)))
+   (let ((message-string (format "Tangling %S completed after" file)))
      `(lambda (tangle-time)
-       (message (concat ,message-string
-                        (format "%s seconds" tangle-time)))))))
+       (message "%s %s seconds",message-string tangle-time)))))
 
 (defun org-auto-tangle-tangle-if-tag-exists ()
   "Check if the #+auto_tangle option exists and call org-auto-tangle-async if 
it exists."



reply via email to

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