Mercurial > emacs
changeset 11040:2ea19d4d0b4b
Use appropriate `fboundp' tests to decide what to load.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 16 Mar 1995 21:27:25 +0000 |
parents | c9e2537da847 |
children | 17b319a26eea |
files | lisp/loadup.el |
diffstat | 1 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/loadup.el Thu Mar 16 21:25:52 1995 +0000 +++ b/lisp/loadup.el Thu Mar 16 21:27:25 1995 +0000 @@ -53,14 +53,19 @@ (load "indent") (garbage-collect) (load "window") -(garbage-collect) (if (fboundp 'delete-frame) (progn - (load "frame") - (load "mouse") + (garbage-collect) + (load "frame"))) +(if (fboundp 'frame-face-alist) + (progn (garbage-collect) (load "faces") - (load "facemenu") + (load "facemenu"))) +(if (fboundp 'track-mouse) + (progn + (garbage-collect) + (load "mouse") (garbage-collect) (load "menu-bar") (load "scroll-bar")