emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Crash during access_keymap


From: Stefan Monnier
Subject: Re: Crash during access_keymap
Date: Wed, 16 Nov 2005 17:49:15 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>     (defconst encoded-kbd-mode-map (make-sparse-keymap)
>       "Keymap for Encoded-kbd minor mode.")

>     The keymap is allocated in the pure storage if this file is preloaded,
>     because it is defined by `defconst' (should be `defvar'?).

> That is definitely a bug.  Could you change that to a defvar?

Why should it be a defvar?  Is there a (setq encoded-kbd-mode-map
...) somewhere?

If someone turns the defconst into a defvar, please please please add
a comment explaining that defvar is used because during preloading
defconst presumes that the value can be put in pure space.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]