emacs-diffs
[Top][All Lists]
Advanced

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

master ea5ae08b062 2/2: * lisp/emacs-lisp/comp.el (comp-final1): Clean-u


From: Andrea Corallo
Subject: master ea5ae08b062 2/2: * lisp/emacs-lisp/comp.el (comp-final1): Clean-up unused form.
Date: Tue, 19 Sep 2023 05:46:54 -0400 (EDT)

branch: master
commit ea5ae08b0623f091666373765d831667895c4351
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>

    * lisp/emacs-lisp/comp.el (comp-final1): Clean-up unused form.
---
 lisp/emacs-lisp/comp.el | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index a8567c5da00..37771eb004e 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -3757,13 +3757,10 @@ Prepare every function for final compilation and drive 
the C back-end."
     (comp--compile-ctxt-to-file name)))
 
 (defun comp-final1 ()
-  (let (compile-result)
-    (comp--init-ctxt)
-    (unwind-protect
-        (setf compile-result
-              (comp-compile-ctxt-to-file (comp-ctxt-output comp-ctxt)))
-      (and (comp--release-ctxt)
-           compile-result))))
+  (comp--init-ctxt)
+  (unwind-protect
+      (comp-compile-ctxt-to-file (comp-ctxt-output comp-ctxt))
+    (comp--release-ctxt)))
 
 (defvar comp-async-compilation nil
   "Non-nil while executing an asynchronous native compilation.")



reply via email to

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