[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
macro defining function and byte compiler
From: |
akrl |
Subject: |
macro defining function and byte compiler |
Date: |
Sat, 04 May 2019 21:22:14 +0000 |
Hi all,
I'm trying to byte-compile a file with the following content:
(defmacro xxx ()
`(progn
(defun ,(make-symbol "yyy") ())
(defun zzz ())))
(xxx)
(defun test1 ()
(yyy))
(defun test2 ()
(zzz))
>From the *Compile-Log* I see:
Warning: the function ‘yyy’ is not known to be defined.
I'm then wondering why the byte compiler is happy with zzz but not yyy.
I'm certanly missing something here.
Thanks and bests
Andrea
--
akrl@sdf.org
- macro defining function and byte compiler,
akrl <=