initial import into CVS
[elisp/initz.git] / lisp / initz-globals.el
1 1;;; initz-globals.el --- Global variables and constants.
2
3 ;; Copyright (C) 2002 OHASHI Akira <bg66@koka-in.org>
4
5 ;; Author: OHASHI Akira <bg66@koka-in.org>
6 ;; Keywords: startup, init
7
8 ;; This file is part of Initz.
9
10 ;; This program is free software; you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 2, or (at your option)
13 ;; any later version.
14
15 ;; This program is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 ;; GNU General Public License for more details.
19
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;; Boston, MA 02111-1307, USA.
24
25
26 ;;; Commentary:
27 ;;
28
29 ;;; Code:
30
31 (defconst initz-null-string "")
32
33 (defconst initz-separator-string "-")
34
35 (defconst initz-module-regexp "[-.a-zA-Z0-9]+")
36
37 (defconst initz-flavor
38   (if (featurep 'xemacs)
39       (concat "xemacs" (number-to-string emacs-major-version))
40     (if (featurep 'meadow)
41         (concat "meadow"
42                 (let ((mver (Meadow-version)))
43                   (if (string-match "Meadow-\\([0-9]+\\.[0-9]+\\)"
44                                     mver)
45                       (match-string 1 mver))))
46       (concat "emacs" (number-to-string emacs-major-version)))))
47
48 (defconst initz-load-module-ask-message-format
49   "Load init file for %s? ")
50
51 (defconst initz-load-module-message-format
52   "Loading init file for %s...")
53
54 (defconst initz-unload-module-message-format
55   "Unloading init file for %s...")
56
57 (defvar initz-compile-error-files nil)
58
59 (defvar initz-load-error-files nil)
60
61 (defvar initz-load-list-internal nil)
62
63 (defvar initz-ignore-list-internal nil)
64
65 (provide 'initz-globals)
66
67 ;;; initz-globals.el ends here