forked from emacs-ess/ESS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ess-site.el
65 lines (54 loc) · 2.33 KB
/
ess-site.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
;;; ess-site.el --- user customization of ESS -*- lexical-binding: t; -*-
;; Copyright (C) 1993-2020 Free Software Foundation, Inc.
;; Author: David Smith <[email protected]>
;; Created: 12 Nov 1993
;; Maintainer: ESS-core <[email protected]>
;; This file is part of GNU Emacs.
;;; License:
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see
;; <http://www.gnu.org/licenses/>
;;; Commentary:
;; Load path, autoloads, and major modes
;; ========================================
;;
;; This file defines all the site-specific customizations for ESS. It should be
;; edited on a per-site basis. users who wish to use ESS should add the path to
;; ess-site to their `load-path' and require it:
;;
;; (add-to-list 'load-path "/path/to/ess/lisp-directory");;
;; (require 'ess-site)
;;
;; For most users the variable ess-lisp-directory will automatically be set
;; correctly. If you are working with an old Emacs, one in which file-truename
;; is not defined, then you might need to change the value of ess-lisp-directory
;; to the directory which is to contain the file ess-site.elc. This is probably
;; the current directory, or the value of LISPDIR if it was set in the Makefile.
;;
;; Debug startup: (setq ess-show-load-messages t)
;;; Code:
(when load-file-name
;; Modify this if ess-site.el is not in the ./lisp/ directory
(defvar ess-lisp-directory (file-name-directory load-file-name)
"Directory containing ess-site.el(c) and other ESS Lisp files.")
(add-to-list 'load-path (directory-file-name ess-lisp-directory)))
;;; Loading popular dialects (they should become optional in the future)
(require 'ess-r-mode)
(require 'essd-els) ;; ess-remote
(require 'ess-sas-d)
(require 'ess-bugs-d)
(require 'ess-jags-d)
(require 'ess-toolbar)
(provide 'ess-site)
;;; ess-site.el ends here