diff options
Diffstat (limited to 'lisp/cus-edit.el')
| -rw-r--r-- | lisp/cus-edit.el | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 60705b30552..e2275ce356d 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -1092,7 +1092,11 @@ or default values have changed since the previous major Emacs release. | |||
| 1092 | With argument SINCE-VERSION (a string), customize all settings | 1092 | With argument SINCE-VERSION (a string), customize all settings |
| 1093 | that were added or redefined since that version." | 1093 | that were added or redefined since that version." |
| 1094 | 1094 | ||
| 1095 | (interactive "sCustomize options changed, since version (default all versions): ") | 1095 | (interactive |
| 1096 | (list | ||
| 1097 | (read-from-minibuffer | ||
| 1098 | (format "Customize options changed, since version (default %s): " | ||
| 1099 | customize-changed-options-previous-release)))) | ||
| 1096 | (if (equal since-version "") | 1100 | (if (equal since-version "") |
| 1097 | (setq since-version nil) | 1101 | (setq since-version nil) |
| 1098 | (unless (condition-case nil | 1102 | (unless (condition-case nil |
| @@ -3408,12 +3412,12 @@ Optional EVENT is the location for the menu." | |||
| 3408 | ;; Make the comment invisible by hand if it's empty | 3412 | ;; Make the comment invisible by hand if it's empty |
| 3409 | (custom-comment-hide comment-widget)) | 3413 | (custom-comment-hide comment-widget)) |
| 3410 | (put symbol 'customized-face value) | 3414 | (put symbol 'customized-face value) |
| 3415 | (custom-push-theme 'theme-face symbol 'user 'set value) | ||
| 3411 | (if (face-spec-choose value) | 3416 | (if (face-spec-choose value) |
| 3412 | (face-spec-set symbol value) | 3417 | (face-spec-set symbol value) |
| 3413 | ;; face-set-spec ignores empty attribute lists, so just give it | 3418 | ;; face-set-spec ignores empty attribute lists, so just give it |
| 3414 | ;; something harmless instead. | 3419 | ;; something harmless instead. |
| 3415 | (face-spec-set symbol '((t :foreground unspecified)))) | 3420 | (face-spec-set symbol '((t :foreground unspecified)))) |
| 3416 | (custom-push-theme 'theme-face symbol 'user 'set value) | ||
| 3417 | (put symbol 'customized-face-comment comment) | 3421 | (put symbol 'customized-face-comment comment) |
| 3418 | (put symbol 'face-comment comment) | 3422 | (put symbol 'face-comment comment) |
| 3419 | (custom-face-state-set widget) | 3423 | (custom-face-state-set widget) |
| @@ -3486,13 +3490,17 @@ restoring it to the state of a face that has never been customized." | |||
| 3486 | (put symbol 'customized-face nil) | 3490 | (put symbol 'customized-face nil) |
| 3487 | (put symbol 'customized-face-comment nil) | 3491 | (put symbol 'customized-face-comment nil) |
| 3488 | (custom-push-theme 'theme-face symbol 'user 'reset) | 3492 | (custom-push-theme 'theme-face symbol 'user 'reset) |
| 3493 | (face-spec-set symbol value) | ||
| 3489 | (custom-theme-recalc-face symbol) | 3494 | (custom-theme-recalc-face symbol) |
| 3490 | (when (or (get symbol 'saved-face) (get symbol 'saved-face-comment)) | 3495 | (when (or (get symbol 'saved-face) (get symbol 'saved-face-comment)) |
| 3491 | (put symbol 'saved-face nil) | 3496 | (put symbol 'saved-face nil) |
| 3492 | (put symbol 'saved-face-comment nil) | 3497 | (put symbol 'saved-face-comment nil) |
| 3493 | (custom-save-all)) | 3498 | (custom-save-all)) |
| 3494 | (put symbol 'face-comment nil) | 3499 | (put symbol 'face-comment nil) |
| 3495 | (widget-value-set child value) | 3500 | (widget-value-set child |
| 3501 | (custom-pre-filter-face-spec | ||
| 3502 | (list (list t (custom-face-attributes-get | ||
| 3503 | symbol nil))))) | ||
| 3496 | ;; This call manages the comment visibility | 3504 | ;; This call manages the comment visibility |
| 3497 | (widget-value-set comment-widget "") | 3505 | (widget-value-set comment-widget "") |
| 3498 | (custom-face-state-set widget) | 3506 | (custom-face-state-set widget) |