diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/frame.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 488fd682cc0..fd828b47786 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -72,8 +72,11 @@ These supercede the values given in `default-frame-alist'.") ;;; 3) Once the init file is done, we apply any newly set parameters ;;; in initial-frame-alist to the frame. -(add-hook 'before-init-hook 'frame-initialize) -(add-hook 'window-setup-hook 'frame-notice-user-settings) +;; These are now called explicitly at the proper times, +;; since that is easier to understand. +;; Actually using hooks within Emacs is bad for future maintenance. --rms. +;; (add-hook 'before-init-hook 'frame-initialize) +;; (add-hook 'window-setup-hook 'frame-notice-user-settings) ;;; If we create the initial frame, this is it. (defvar frame-initial-frame nil) |
