# HG changeset patch # User Eli Zaretskii # Date 1273240345 -10800 # Node ID 9fb2b015a2b4690fadfa3a9550c1d15a1e3847f6 # Parent a5fcd78ad3eb614bb59244d74c476cf11365a673 cus-start.el (all): Add native condition for tool-bar-* symbols. diff -r a5fcd78ad3eb -r 9fb2b015a2b4 lisp/ChangeLog --- a/lisp/ChangeLog Fri May 07 16:51:16 2010 +0300 +++ b/lisp/ChangeLog Fri May 07 16:52:25 2010 +0300 @@ -1,3 +1,7 @@ +2010-05-07 Eli Zaretskii + + * cus-start.el (all): Add native condition for tool-bar-* symbols. + 2010-05-07 Christian von Roques (tiny change) * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592). diff -r a5fcd78ad3eb -r 9fb2b015a2b4 lisp/cus-start.el --- a/lisp/cus-start.el Fri May 07 16:51:16 2010 +0300 +++ b/lisp/cus-start.el Fri May 07 16:52:25 2010 +0300 @@ -408,6 +408,10 @@ (fboundp 'define-fringe-bitmap)) ((equal "font-use-system-font" (symbol-name symbol)) (featurep 'system-font-setting)) + ;; Conditioned on x-create-frame, because that's + ;; the condition for loadup.el to preload tool-bar.el. + ((string-match "tool-bar-" (symbol-name symbol)) + (fboundp 'x-create-frame)) (t t)))) (if (not (boundp symbol)) ;; If variables are removed from C code, give an error here!