[ESS] Fix: remove obsolete variables in ESS (#13826)

* [ESS] Fix: remove obsolete variables in ESS

- use ess-offset-continued to replace the obsolete variables (from ESS 15.04):
  ess-first-continued-statement-offset
	ess-continued-statement-offset

- remove ess-expression-offset
  no such variable now

* [ESS] fix: keep ess-default-style instead of ess-style

- keep the original ess-default-style instead of ess-style
  since ess-default-style will be obsolete till ESS 19.04
	while current ESS version is 18.10
This commit is contained in:
beyondpie 2020-08-08 01:35:25 -04:00 committed by GitHub
parent ed021a957f
commit 3388972c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,10 +70,7 @@
:init
(progn
(setq ess-use-company nil
;; Follow Hadley Wickham's R style guide
ess-first-continued-statement-offset 2
ess-continued-statement-offset 0
ess-expression-offset 2
ess-offset-continued 'straight
ess-nuke-trailing-whitespace-p t
ess-default-style 'DEFAULT)