Commit 92233e7e authored by Lute Kamstra's avatar Lute Kamstra
Browse files

(all): Check if symbol is void.

parent 3ee26b0c
;;; cus-start.el --- define customization properties of builtins
;;
;; Copyright (C) 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
;;
;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
;; Keywords: internal
......@@ -311,7 +311,8 @@ since it could result in memory overflow and make Emacs crash."
;; use the current value as the standard value.
standard (if (nthcdr 4 this)
(nth 4 this)
(funcall quoter (default-value symbol)))
(when (boundp symbol)
(funcall quoter (default-value symbol))))
;; Don't complain about missing variables which are
;; irrelevant to this platform.
native-p (save-match-data
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment