From ec069a73c5e451a0561d5a4e352f9b7364a74f07 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 24 Jan 2018 10:59:44 -0800 Subject: [PATCH] properly load ess-r-mode; fix directory typo --- emacs_el/configuration/don-configuration.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs_el/configuration/don-configuration.org b/emacs_el/configuration/don-configuration.org index 5ed2aa0..f18b5ce 100644 --- a/emacs_el/configuration/don-configuration.org +++ b/emacs_el/configuration/don-configuration.org @@ -914,13 +914,13 @@ This can be used to link things pretty quickly if necessary (use-package ess :ensure t :commands R - :mode "\\.R\\'" + :mode ("\\.R\\'" . ess-r-mode) :bind (:map ess-mode-map ("C-c C-R" . dla/ess-region-remote-eval)) :config (defun ess-change-directory (path) "Set the current working directory to PATH for both *R* and Emacs." - (interactive "DDirectory to change to: ") + (interactive "Directory to change to: ") (when (file-exists-p path) (ess-command (concat "setwd(\"" path "\")\n")) -- 2.39.2