aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-13 03:23:40 +0000
committerRichard M. Stallman1993-05-13 03:23:40 +0000
commitfc4d4afb41a8d1f2daac309ffd1d313352e405ec (patch)
treedf70e80984e28915b33f089e5819dbccd3bb6a37
parent6a0486dd89eadee34c166d197531a030a88c3cd5 (diff)
downloademacs-fc4d4afb41a8d1f2daac309ffd1d313352e405ec.tar.gz
emacs-fc4d4afb41a8d1f2daac309ffd1d313352e405ec.zip
Don't put frame-initialize and frame-notice-user-settings on hooks.
They are now called directly.
-rw-r--r--lisp/frame.el7
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'.")
72;;; 3) Once the init file is done, we apply any newly set parameters 72;;; 3) Once the init file is done, we apply any newly set parameters
73;;; in initial-frame-alist to the frame. 73;;; in initial-frame-alist to the frame.
74 74
75(add-hook 'before-init-hook 'frame-initialize) 75;; These are now called explicitly at the proper times,
76(add-hook 'window-setup-hook 'frame-notice-user-settings) 76;; since that is easier to understand.
77;; Actually using hooks within Emacs is bad for future maintenance. --rms.
78;; (add-hook 'before-init-hook 'frame-initialize)
79;; (add-hook 'window-setup-hook 'frame-notice-user-settings)
77 80
78;;; If we create the initial frame, this is it. 81;;; If we create the initial frame, this is it.
79(defvar frame-initial-frame nil) 82(defvar frame-initial-frame nil)