[Top][All Lists]

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

Re: defconst in lao.el

From: Stephan Stahl
Subject: Re: defconst in lao.el
Date: Wed, 17 Nov 2004 07:39:26 +0100 (CET)
User-agent: SquirrelMail/1.4.0

Hi Luc.

Luc Teirlinck said:

> Yes, but the code can be changed so that modifying the value after
> lao.el is loaded _does_ work.
> ! ;; If you change the value of this variable, be sure to do
> ! ;; `(lao-initialize-alists)' afterwards.  Otherwise, the related
> ! ;; alists will not be properly updated.
> ! (defvar lao-key-alist
>     '(("!" . "1")
>       ("\"" . "=")
>       ("#" . "3")

Wouldn't it be better to include this comment as lao-key-alist's doc-string or
maybe even make it a defcustom with an :set that calls lao-initialize-alists ?
I think this would make it harder to miss the fact that lao-initialize-alists
has to be called.

Stephan Stahl

reply via email to

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