1 ;;; make-emacs-conf.el ---
3 ;; Copyright (C) 2000 ElectroTechnical Laboratory
4 ;; Copyright (C) 2000 TOMURA Satoru <tomura@etl.go.jp>
5 ;; Licensed to Free Software Foundation, Inc.
7 ;; Author: TOMURA Satoru <tomura@etl.go.jp>
9 ;; Maintainer: TOMURA Satoru <tomura@etl.go.jp>
11 ;; Keywords: mule, multilingual, input method
13 ;; This file is part of EGG.
15 ;; EGG 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)
20 ;; EGG 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.
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 the
27 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
28 ;; Boston, MA 02111-1307, USA.
34 (defun make-emacs-configuration-file ()
36 (let* ((etc-dir data-directory)
37 (ver-dir (file-name-directory (substring etc-dir 0 -1)))
38 (emacs-dir (file-name-directory (substring ver-dir 0 -1))))
40 ;;; INSDIR=/usr/local/share/emacs/site-lisp
41 (format "INSDIR=%s/site-lisp\n"
42 (substring emacs-dir 0 -1))
43 ;;; VINSDIR=/usr/local/share/emacs/20.5/site-lisp
44 (format "VINSDIR=%s/site-lisp\n"
45 (substring ver-dir 0 -1)))
46 (write-file "dirs" nil))))
48 (make-emacs-configuration-file)