diff options
| author | Glenn Morris | 2020-01-03 07:50:15 -0800 |
|---|---|---|
| committer | Glenn Morris | 2020-01-03 07:50:15 -0800 |
| commit | 6654ace8df709e5c962446dc08dfbb4eab5ca976 (patch) | |
| tree | 9f14497bbfa662025f4db0e0571be3f059818ba8 | |
| parent | ef40d523c4635e57552a43f7080edd5d9d4b44d7 (diff) | |
| parent | 071483b6f516b737182440264ec11c94ada53dc3 (diff) | |
| download | emacs-6654ace8df709e5c962446dc08dfbb4eab5ca976.tar.gz emacs-6654ace8df709e5c962446dc08dfbb4eab5ca976.zip | |
Merge from origin/emacs-27
071483b6f5 Fix reverting customizations
43203d5068 * lisp/loadup.el: Set max-specpdl-size to 1800 when loadin...
fab3674b36 Revert "Raise default max-specpdl-size value"
42f66aa502 ; Fix NEWS.24
bb9402e6e9 Raise default max-specpdl-size value
| -rw-r--r-- | etc/NEWS.24 | 10 | ||||
| -rw-r--r-- | lisp/custom.el | 5 | ||||
| -rw-r--r-- | lisp/loadup.el | 4 |
3 files changed, 14 insertions, 5 deletions
diff --git a/etc/NEWS.24 b/etc/NEWS.24 index 8207a8ca59a..60c2b4dfc66 100644 --- a/etc/NEWS.24 +++ b/etc/NEWS.24 | |||
| @@ -3604,10 +3604,12 @@ advertised at the time.) | |||
| 3604 | 3604 | ||
| 3605 | ** Debugger changes | 3605 | ** Debugger changes |
| 3606 | 3606 | ||
| 3607 | *** New macro `condition-case-unless-debug' (this was actually added in | 3607 | *** New macro `condition-case-unless-debug'. |
| 3608 | Emacs 23.1 as condition-case-no-debug, but not advertised) | 3608 | (This was actually added in Emacs 23.1 as condition-case-no-debug, but |
| 3609 | not advertised) | ||
| 3609 | 3610 | ||
| 3610 | *** The macro `with-demoted-errors' was added in Emacs 23.1, but not advertised. | 3611 | *** The macro `with-demoted-errors'. |
| 3612 | It was also added in Emacs 23.1, but not advertised. | ||
| 3611 | 3613 | ||
| 3612 | *** Variable `stack-trace-on-error' removed. | 3614 | *** Variable `stack-trace-on-error' removed. |
| 3613 | 3615 | ||
| @@ -3691,6 +3693,8 @@ argument is supplied (see Trash changes, above). | |||
| 3691 | 3693 | ||
| 3692 | *** New file predicates: `file-equal-p', `file-in-directory-p'. | 3694 | *** New file predicates: `file-equal-p', `file-in-directory-p'. |
| 3693 | 3695 | ||
| 3696 | *** New function `file-size-human-readable'. | ||
| 3697 | |||
| 3694 | ** Tool-bars can display separators. | 3698 | ** Tool-bars can display separators. |
| 3695 | Tool-bar separators are handled like menu separators in menu-bar maps, | 3699 | Tool-bar separators are handled like menu separators in menu-bar maps, |
| 3696 | i.e. via menu entries of the form `(menu-item "--")'. | 3700 | i.e. via menu entries of the form `(menu-item "--")'. |
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") |