Well, the ps-print commands have a comment:
;;;###autoload
just before the command definition.
Yes. So when you run one of these commands, it will load ps-print.
However, if you type C-h v ps-default-bg before that, it will not see
that the variable even exists.
Humm, trying the initialization above, I can see that ps-print is loaded
before .emacs file is loaded. So, the background is white when ps-print
is loaded and, only during .emacs loading, the background is changed.
I suspected as much. What causes that?
What does the backtrace say?
> > If the variables have a value (let's say, 'frame-parameter),
the value
> > of them is calculated when any ps-print command is activated.
And it's
> > used frame-parameter function to get the color value.
> >
>
> With your explanation, I now understand that idea, and I think it is a
> good one.
>
Ok, could I implement it now in Emacs 22 before the release?
Yes. But please also investigate what causes ps-print to be loaded
early.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug