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

Re: Small sb-bbc.el patch



>>>>> In [emacs-w3m : No.08320]
>>>>>	David Hansen <david.hansen@gmx.net> wrote:

> On Thu, 14 Jul 2005 06:21:52 +0200 David Hansen wrote:

>> -  "\\(<!-- \\(E I\\(BYL\\|IMA\\)\\|S I\\(BOX\\|IMA\\)\\) -->\\)")
>> +  "\\(<!-- \\(E I\\(BYL\\|IMA\\)\\|S I?\\(BOX?\\|IMA\\)\\) -->\\)")

> Probably

> (eval-when-compile
>   (concat "<!-- "
>           (regexp-opt '("E IBYL" "E IIMA" "S IBOX" "S IMA" "S BO"))
>           " -->"))

> is better.  At least easier to read.

Applied.  Thanks.
The `defvar' forms are evaluated even at the compile time, so
`eval-when-compile' is not needed.