[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Silencing byte compiler
From: |
Ikumi Keita |
Subject: |
Silencing byte compiler |
Date: |
Sat, 14 May 2022 22:00:36 +0900 |
Hi Arash,
> ba568ead992a3abcfe941a5d4f137fe3e77f4063
> Author: Arash Esbati <arash@gnu.org>
> AuthorDate: Fri May 13 19:50:59 2022 +0200
> Commit: Arash Esbati <arash@gnu.org>
> CommitDate: Fri May 13 19:50:59 2022 +0200
[...]
> ; Silence the compiler for the change in 37e5a450
[...]
> -(declare-function comint-exec
[...]
> +(declare-function comint-exec "ext:comint"
> (buffer name command startfile switches))
> -(declare-function comint-mode
> - nil)
> +(declare-function comint-mode "ext:comint" nil)
Shame on me, thanks for catching my bogus code.
> +(declare-function LaTeX-counter-list "latex" nil)
> +(declare-function LaTeX-length-list "latex" nil)
I think that byte-compiler warns these because it doesn't like usage of
#' in fboundp like
(fboundp #'LaTeX-length-list)
. Isn't it more appropriate to do like the attached patch?
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
patch
Description: my proposal
- Silencing byte compiler,
Ikumi Keita <=