changeset 2763:a93e407bf41c

Don't put frame-initialize and frame-notice-user-settings on hooks. They are now called directly.
author Richard M. Stallman <rms@gnu.org>
date Thu, 13 May 1993 03:23:40 +0000
parents dd28ed1e1928
children 17c322204ce3
files lisp/frame.el
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/frame.el	Thu May 13 03:17:03 1993 +0000
+++ b/lisp/frame.el	Thu May 13 03:23:40 1993 +0000
@@ -72,8 +72,11 @@
 ;;; 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)