[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp 53f9bc6 08/10: * comp.el (comp-output-base-filename)
From: |
Andrea Corallo |
Subject: |
feature/native-comp 53f9bc6 08/10: * comp.el (comp-output-base-filename): Handle src being a symbol |
Date: |
Sun, 29 Mar 2020 09:12:53 -0400 (EDT) |
branch: feature/native-comp
commit 53f9bc6908a4da8f5c985e8f204a479c828c432d
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>
* comp.el (comp-output-base-filename): Handle src being a symbol
---
lisp/emacs-lisp/comp.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index eca61c6..92d0655 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -440,7 +440,8 @@ VERBOSITY is a number between 0 and 3."
(defun comp-output-base-filename (src)
"Output filename sans extention for SRC file being native compiled."
- (let* ((expanded-filename (expand-file-name src))
+ (let* ((src (if (symbolp src) (symbol-name src) src))
+ (expanded-filename (expand-file-name src))
(output-dir (file-name-as-directory
(concat (file-name-directory expanded-filename)
comp-native-path-postfix)))
- feature/native-comp updated (bb0496e -> 00ee320), Andrea Corallo, 2020/03/29
- feature/native-comp 05f89e8 02/10: src/comp.c (Fcomp__init_ctxt): Aesthetic, Andrea Corallo, 2020/03/29
- feature/native-comp 9d8ce52 03/10: * comp.c (maybe_defer_native_compilation): Compile comp dependecies., Andrea Corallo, 2020/03/29
- feature/native-comp 3c5e3ca 05/10: * test/src/comp-test-funcs.el (comp-test-big-interactive): New test, Andrea Corallo, 2020/03/29
- feature/native-comp 79483a5 01/10: * .gitlab-ci.yml (test-native-bootstrap-speed*): Timeout to 8h, Andrea Corallo, 2020/03/29
- feature/native-comp d5f6dc1 04/10: Prevent collisions in C namespace and function shadowing, Andrea Corallo, 2020/03/29
- feature/native-comp 89cbff3 06/10: * test/src/comp-tests.el (comp-tests-doc): Fix, Andrea Corallo, 2020/03/29
- feature/native-comp 530faee 09/10: Fix free function compilation, Andrea Corallo, 2020/03/29
- feature/native-comp c69c185 07/10: Add comp-test-40187 checking function shadowing., Andrea Corallo, 2020/03/29
- feature/native-comp 53f9bc6 08/10: * comp.el (comp-output-base-filename): Handle src being a symbol,
Andrea Corallo <=
- feature/native-comp 00ee320 10/10: Merge remote-tracking branch 'savannah/master' into HEAD, Andrea Corallo, 2020/03/29