From: Don Armstrong Date: Wed, 24 Jan 2018 18:59:44 +0000 (-0800) Subject: properly load ess-r-mode; fix directory typo X-Git-Url: https://git.donarmstrong.com/?p=lib.git;a=commitdiff_plain;h=ec069a73c5e451a0561d5a4e352f9b7364a74f07 properly load ess-r-mode; fix directory typo --- 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"))