Commit cfbfd5bb authored by Christophe Rhodes's avatar Christophe Rhodes
Browse files

some elisp code that slime/swankr users probably want

Should try to find out how to have it loaded automatically
parent 3bf571b7
(require 'ess-help)
(defun swankr-operator-before-point ()
(ignore-errors
(save-excursion
(backward-up-list 1)
(slime-symbol-at-point))))
(add-hook 'R-mode-hook
(defun swankr/R-mode-hook ()
(slime-mode 1)
(set (make-local-variable 'slime-operator-before-point-function) 'swankr-operator-before-point)
(local-set-key (kbd "(") 'slime-space)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment