comparison lisp/startup.el @ 883:5a7ed0421c9d

*** empty log message ***
author Roland McGrath <roland@gnu.org>
date Mon, 27 Jul 1992 17:41:57 +0000
parents 6d05b6b123d5
children 5430eac8f453
comparison
equal deleted inserted replaced
882:bff32d8ecc5e 883:5a7ed0421c9d
139 (file-name-as-directory value)))))) 139 (file-name-as-directory value))))))
140 '("PWD" "HOME"))) 140 '("PWD" "HOME")))
141 (setq default-directory (abbreviate-file-name default-directory)) 141 (setq default-directory (abbreviate-file-name default-directory))
142 (unwind-protect 142 (unwind-protect
143 (command-line) 143 (command-line)
144 ;; Run the site-start library if it exists.
145 (load "site-start" t t)
146 (run-hooks 'emacs-startup-hook) 144 (run-hooks 'emacs-startup-hook)
147 (and term-setup-hook 145 (and term-setup-hook
148 (run-hooks 'term-setup-hook)) 146 (run-hooks 'term-setup-hook))
149 (and window-setup-hook 147 (and window-setup-hook
150 (run-hooks 'window-setup-hook))))) 148 (run-hooks 'window-setup-hook)))))
210 208
211 ;; Re-attach the program name to the front of the arg list. 209 ;; Re-attach the program name to the front of the arg list.
212 (setcdr command-line-args args)) 210 (setcdr command-line-args args))
213 211
214 (run-hooks 'before-init-hook) 212 (run-hooks 'before-init-hook)
213
214 ;; Run the site-start library if it exists. The point of this file is
215 ;; that it is run before .emacs. There is no point in doing this after
216 ;; .emacs; that is useless.
217 (load "site-start" t t)
215 218
216 ;; Load that user's init file, or the default one, or none. 219 ;; Load that user's init file, or the default one, or none.
217 (let ((debug-on-error init-file-debug) 220 (let ((debug-on-error init-file-debug)
218 ;; This function actually reads the init files. 221 ;; This function actually reads the init files.
219 (inner 222 (inner