[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible defvar bug
From: |
Tassilo Horn |
Subject: |
Possible defvar bug |
Date: |
Mon, 18 Feb 2013 15:40:21 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Hi all,
I have a problem in AUCTeX where I get some void-variable error although
I require the file defining the variable. After some experimenting,
I've isolated the problem to this minimal example:
(let ((crm-separator ","))
(require 'crm))
crm.el defines `crm-separator' with some default value. However, when
evaluating that snipped, I get:
,----[ C-h v crm-separator ]
| crm-separator is a variable defined in `crm.el'.
| It is void as a variable.
|
| Documentation:
| Separator regexp used for separating strings in `completing-read-multiple'.
| It should be a regexp that does not match the list of completion candidates.
| Modify this value to make `completing-read-multiple' use a separator other
| than `crm-default-separator'.
`----
I understand that defvar doesn't override a variable's value if the
variable is already defined, but is that TRT with dynamic bindings, too?
Bye,
Tassilo
- Possible defvar bug,
Tassilo Horn <=
- Re: Possible defvar bug, Jambunathan K, 2013/02/18
- Re: Possible defvar bug, Tassilo Horn, 2013/02/18
- Re: Possible defvar bug, Didier Verna, 2013/02/18
- Re: Possible defvar bug, Alan Mackenzie, 2013/02/18
- Re: Possible defvar bug, Thierry Volpiatto, 2013/02/18
- RE: Possible defvar bug, Drew Adams, 2013/02/18
- Re: Possible defvar bug, Thierry Volpiatto, 2013/02/18
- RE: Possible defvar bug, Drew Adams, 2013/02/18
- Re: Possible defvar bug, Lawrence Mitchell, 2013/02/18
- Re: Possible defvar bug, Tassilo Horn, 2013/02/18