From f4e597629a7cba91f1e56230ca7d8f66abd65c24 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 25 Jan 2018 14:57:59 -0800 Subject: [PATCH 1/1] autoload ess-site and R mode --- emacs_el/configuration/don-configuration.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs_el/configuration/don-configuration.org b/emacs_el/configuration/don-configuration.org index 25012bd..a685de6 100644 --- a/emacs_el/configuration/don-configuration.org +++ b/emacs_el/configuration/don-configuration.org @@ -919,7 +919,12 @@ This can be used to link things pretty quickly if necessary :mode ("\\.R\\'" . ess-r-mode) :bind (:map ess-mode-map ("C-c C-R" . dla/ess-region-remote-eval)) + :init + (autoload 'ess-r-mode "ess-site" nil t) + (autoload 'R "ess-site" nil t) :config + ; actually load the rest of ess + (require 'ess-site) (defun ess-change-directory (path) "Set the current working directory to PATH for both *R* and Emacs." (interactive "Directory to change to: ") -- 2.39.2