[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: describe-variable gets the defining library wrong
From: |
Drew Adams |
Subject: |
RE: describe-variable gets the defining library wrong |
Date: |
Fri, 26 Jun 2009 10:58:39 -0700 |
> > Does anyone else see this behavior, or is it just me? Sorry
> > I don't have a recipe to reproduce this yet.
>
> Doesn't ring a bell. Please report it again with more
> details next time you see it.
Put this in a new file foobar.el:
(defvar text-scale-mode-amount) ; Quiet byte-compiler < Emacs 23
Byte-compile foobar.el using Emacs 20 or 21.
emacs -Q ; Emacs 23
M-x load-library face-remap
M-x load-file foobar.elc
C-h v text-scale-mode-amount
You'll see this:
,----
| text-scale-mode-amount is a variable defined in `foobar.el'.
| Its value is 0
|
| Automatically becomes buffer-local when set in any fashion.
|
| Documentation:
| Not documented as a variable.
`----