eli: 1 Sharp-quote symbols with function definition only 1 files changed, 2 insertions(+), 1 deletions(-)
Copy & paste the following snippet into your terminal to import this patchset into git:
curl -s https://lists.sr.ht/~pkal/public-inbox/patches/40579/mbox | git am -3
--- setup.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.el b/setup.el index 7881d65..607e96b 100644 --- a/setup.el +++ b/setup.el @@ -196,7 +196,8 @@ of ENSURE-SPEC and ARGS are compatible." arg) ((eq (car-safe arg) 'quote) `#',(cadr arg)) - ((symbolp arg) + ((and (symbolp arg) + (symbol-function arg)) `#',arg) (arg))) ((error "Invalid ensure spec %S" ensure))) -- 2.40.0
Philip Kaludercic <philipk@posteo.net> 1 year, 11 months ago Hi, if this is done, then there is no point in sharp-quoting any more, since the main advantage of doing so is to have the byte-compiler be able to check if the function is bound or not. eli <qq1358722950@gmail.com> writes:
Hi, if this is done, then there is no point in sharp-quoting any more, since the main advantage of doing so is to have the byte-compiler be able to check if the function is bound or not. eli <qq1358722950@gmail.com> writes: