Richard Stallman <[EMAIL PROTECTED]> writes:

> Shouldn't it use default-boundp?
>
> *** cus-start.el      15 Feb 2005 01:22:16 -0500      1.67
> --- cus-start.el      15 Feb 2005 02:36:28 -0500      
> ***************
> *** 312,318 ****
>         ;; use the current value as the standard value.
>         standard (if (nthcdr 4 this)
>                      (nth 4 this)
> !                  (when (boundp symbol)
>                      (funcall quoter (default-value symbol))))
>         ;; Don't complain about missing variables which are
>         ;; irrelevant to this platform.
> --- 312,318 ----
>         ;; use the current value as the standard value.
>         standard (if (nthcdr 4 this)
>                      (nth 4 this)
> !                  (when (default-boundp symbol)
>                      (funcall quoter (default-value symbol))))
>         ;; Don't complain about missing variables which are
>         ;; irrelevant to this platform.

Before your change, the `(funcall quoter (default-value symbol))' was
within the `(if (boundp symbol) ...)' test below.  You took it outside
this test, which caused the problem of accessing an MS-DOS-specific
built-in variable on GNU/Linux.  So I figured I should test for
`(boundp symbol)' again.  `(default-boundp symbol)' does seem the
right test though.  Apparently, the built-in variable in `symbol' is
never local-only.

Lute.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to