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* ((emacs-etc-directory data-directory)
37 (this-version-directory (file-name-directory (directory-file-name emacs-etc-directory)))
38 (site-directory (file-name-directory (directory-file-name this-version-directory))))
40 ;;; INSDIR=/usr/local/share/emacs/site-lisp
42 (expand-file-name "site-lisp" site-directory)
44 ;;; VINSDIR=/usr/local/share/emacs/20.5/site-lisp
45 (format "VINSDIR=%s\n"
46 (expand-file-name "site-lisp" this-version-directory)
48 (write-file "insdirs" nil))))
50 (make-emacs-configuration-file)