Changeset 4161 for trunk/lisp/custom.el
- Timestamp:
- 09/09/06 16:30:10 (2 years ago)
- Files:
-
- trunk/lisp/custom.el (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/custom.el
r4131 r4161 875 875 in SYMBOL's list property `theme-value' \(using `custom-push-theme')." 876 876 (custom-check-theme theme) 877 878 ;; Process all the needed autoloads before anything else, so that the 879 ;; subsequent code has all the info it needs (e.g. which var corresponds 880 ;; to a minor mode), regardless of the ordering of the variables. 881 (dolist (entry args) 882 (let* ((symbol (indirect-variable (nth 0 entry)))) 883 (unless (or (get symbol 'standard-value) 884 (memq (get symbol 'custom-autoload) '(nil noset))) 885 ;; This symbol needs to be autoloaded, even just for a `set'. 886 (custom-load-symbol symbol)))) 887 888 ;; Move minor modes and variables with explicit requires to the end. 877 889 (setq args 878 890 (sort args … … 905 917 (put symbol 'custom-requests requests) 906 918 (mapc 'require requests)) 907 (unless (or (get symbol 'standard-value)908 (memq (get symbol 'custom-autoload) '(nil noset)))909 ;; This symbol needs to be autoloaded, even just for a `set'.910 (custom-load-symbol symbol))911 919 (setq set (or (get symbol 'custom-set) 'custom-set-default)) 912 920 (put symbol 'saved-value (list value))
