Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 408 Bytes
(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)))
Something went wrong with that request. Please try again.