Initial Commit
[packages] / xemacs-packages / ess / lisp / ess-comp.el
1 ;;; ess-comp.el --- setting for compiling, only.
2
3 ;; Copyright (C) 1997--2004 A. J. Rossini
4 ;; Copyright (C) 1997--2004 A.J. Rossini, Rich M. Heiberger, Martin
5 ;;      Maechler, Kurt Hornik, Rodney Sparapani, and Stephen Eglen.
6
7 ;; Original Author: A.J. Rossini <rossini@stat.sc.edu>
8 ;; Created: 25 July 1997
9 ;; Maintainers: ESS-core <ESS-core@stat.math.ethz.ch>
10
11 ;; Keywords: start up, configuration.
12
13 ;; This file is part of ESS
14
15 ;; This file is free software; you can redistribute it and/or modify
16 ;; it under the terms of the GNU General Public License as published by
17 ;; the Free Software Foundation; either version 2, or (at your option)
18 ;; any later version.
19
20 ;; This file is distributed in the hope that it will be useful,
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 ;; GNU General Public License for more details.
24
25 ;; You should have received a copy of the GNU General Public License
26 ;; along with GNU Emacs; see the file COPYING.  If not, write to
27 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
28
29 ;;; Commentary:
30
31 ;;; This file sets up all compilation needs.
32
33 (provide 'ess-comp)
34
35 ;;; Code:
36
37 ;; Emacs doesn't include '.' in the emacs lisp load path.
38 (add-to-list 'load-path nil)
39
40 ;; defvar'ed to nil in ./ess-site.el
41 (setq ess-show-load-messages t)
42
43 (defun ess-message (msg)
44   "Shortcut for \\[message] only if `ess-show-load-messages' is non-nil."
45   (if ess-show-load-messages (message msg)))
46
47 ;; These are required by every other file.
48 (ess-message "loading 'ess-emcs ..")  (require 'ess-emcs) ;set Emacsen diffs
49 (ess-message "loading 'ess-cust ..")  (require 'ess-cust) ;set variables
50 (ess-message "loading 'ess ..")       (require 'ess)      ;configure
51 (ess-message "loading 'ess-site ..")  (require 'ess-site) ;overload defaults
52
53 \f ; Local variables section
54
55 ;;; This file is automatically placed in Outline minor mode.
56 ;;; The file is structured as follows:
57 ;;; Chapters:     ^L ;
58 ;;; Sections:    ;;*;;
59 ;;; Subsections: ;;;*;;;
60 ;;; Components:  defuns, defvars, defconsts
61 ;;;              Random code beginning with a ;;;;* comment
62 ;;; Local variables:
63 ;;; mode: emacs-lisp
64 ;;; mode: outline-minor
65 ;;; outline-regexp: "\^L\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*"
66 ;;; End:
67
68 ;;; ess-comp.el ends here
69