aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/custom.el5
-rw-r--r--lisp/loadup.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index ba7f9997821..037f6c5b1d5 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -886,7 +886,10 @@ See `custom-known-themes' for a list of known themes."
886 (put theme 'theme-settings 886 (put theme 'theme-settings
887 (cons (list prop symbol theme value) 887 (cons (list prop symbol theme value)
888 (delq res theme-settings))) 888 (delq res theme-settings)))
889 (setcar (cdr setting) value))) 889 ;; It's tempting to use setcar here, but that could
890 ;; inadvertently modify other properties in SYMBOL's proplist,
891 ;; if those just happen to share elements with the value of PROP.
892 (put symbol prop (cons (list theme value) (delq setting old)))))
890 ;; Add a new setting: 893 ;; Add a new setting:
891 (t 894 (t
892 (when (custom--should-apply-setting theme) 895 (when (custom--should-apply-setting theme)
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 04ec5ca4754..97525b27086 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -245,7 +245,9 @@
245(load "language/cham") 245(load "language/cham")
246 246
247(load "indent") 247(load "indent")
248(load "emacs-lisp/cl-generic") 248(let ((max-specpdl-size (max max-specpdl-size 1800)))
249 ;; A particularly demanding file to load; 1600 does not seem to be enough.
250 (load "emacs-lisp/cl-generic"))
249(load "minibuffer") ;Needs cl-generic (and define-minor-mode). 251(load "minibuffer") ;Needs cl-generic (and define-minor-mode).
250(load "frame") 252(load "frame")
251(load "startup") 253(load "startup")