;;; ess-site.el --- user customization of ESS -*- lexical-binding: t; -*- ;; Copyright (C) 1993 David M. Smith ;; Copyright (C) 1997--2010 A.J. Rossini, Richard M. Heiberger, Martin ;; Maechler, Kurt Hornik, Rodney Sparapani, and Stephen Eglen. ;; Copyright (C) 2011--2018 A.J. Rossini, Richard M. Heiberger, Martin ;; Maechler, Kurt Hornik, Rodney Sparapani, Stephen Eglen, ;; Vitalie Spinu, and Lionel Henry. ;; Author: David Smith ;; Created: 12 Nov 1993 ;; Maintainer: ESS-core ;; Keywords: local ;; This file is part of ESS ;; This file 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 2, or (at your option) ;; any later version. ;; This file 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. ;; A copy of the GNU General Public License is available at ;; https://www.r-project.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 ess-lisp-directory)) ;;; Loading popular dialects (they should become optional in the future) (require 'ess-r-mode) (require 'ess-julia) (require 'essd-els) ;; ess-remote (require 'ess-stata-mode) (require 'ess-sas-d) (require 'ess-bugs-d) (require 'ess-jags-d) (require 'ess-toolbar) (provide 'ess-site) ;;; ess-site.el ends here