Subject: bug#24538: 25.1; 25.1: load-library js reports error: defconst: Symbol’s value as variable is void: sgml-name-re

From: Andreas Schwab <[email-masked]>
Date: Sun, 25 Sep 2016 11:45:29 +0200

On Sep 25 2016, Milan Zimmermann <[email-masked]> wrote:

> I was getting errors loading javascript-mode, reporting error on sgml-name-re.
>
> After doing some searches, I decided to just try:
>
> M-x: load-library
> js
>
> This results in this error:
>
> defconst: Symbol’s value as variable is void: sgml-name-re

Worksforme.  This variable is defined by sgml-mode, which is required by
js.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."