aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2017-02-20 18:08:48 -0800
committerGlenn Morris2017-02-20 18:08:48 -0800
commit08c73cdc6e2436473b467e207c1a713bb271da11 (patch)
tree32b5c9e0565a080504d869a2986d91fe670c9ec4
parentbfd1afb3da61e31ded80ef68dc72c50e570e37ed (diff)
downloademacs-08c73cdc6e2436473b467e207c1a713bb271da11.tar.gz
emacs-08c73cdc6e2436473b467e207c1a713bb271da11.zip
; Add a new TODO item
* etc/TODO: Add a new entry for :set-after. * lisp/startup.el: Related comment.
-rw-r--r--etc/TODO11
-rw-r--r--lisp/startup.el2
2 files changed, 12 insertions, 1 deletions
diff --git a/etc/TODO b/etc/TODO
index b102bdf35f0..71704f07cfd 100644
--- a/etc/TODO
+++ b/etc/TODO
@@ -968,6 +968,17 @@ addition, toolkit builds create their menu bars in toolkit-specific
968parts of code, bypassing xdisp.c, so those parts need to be enhanced 968parts of code, bypassing xdisp.c, so those parts need to be enhanced
969with toolkit-specific code to display the menu bar right to left. 969with toolkit-specific code to display the menu bar right to left.
970 970
971** Custom
972
973*** Extend :set-after to also mean initialize after.
974If defcustom A specifies :set-after '(B), then if a user customizes
975both A and B, custom will set A after B. But if the user only customizes
976A, then if B is already defined, it gets left at its original setting.
977Instead, if B has not been customized it should be re-initialized
978(on the assumption that the default value depends on A).
979See the places where we manually call custom-reevaluate-setting,
980such as for mail-host-address and user-mail-address in startup.el.
981
971** ImageMagick support 982** ImageMagick support
972 983
973*** image-type-header-regexps priorities the jpeg loader over the 984*** image-type-header-regexps priorities the jpeg loader over the
diff --git a/lisp/startup.el b/lisp/startup.el
index 2d48bd5df15..bc60bbd08b8 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1298,7 +1298,7 @@ the `--debug-init' option to view a complete error backtrace."
1298 ;; Yes, this is ugly, but slightly less so than leaving 1298 ;; Yes, this is ugly, but slightly less so than leaving
1299 ;; user-mail-address uninitialized during init file processing. 1299 ;; user-mail-address uninitialized during init file processing.
1300 ;; Perhaps we should make :set-after do something like this? 1300 ;; Perhaps we should make :set-after do something like this?
1301 ;; Ie, extend it to also mean (re)initialize-after. 1301 ;; Ie, extend it to also mean (re)initialize-after. See etc/TODO.
1302 (equal user-mail-address 1302 (equal user-mail-address
1303 (let (mail-host-address) 1303 (let (mail-host-address)
1304 (ignore-errors 1304 (ignore-errors