Skip to content

Commit

Permalink
ess: help.start() causes read-only problem with comint-prompt-read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkamm authored and syl20bnr committed Apr 29, 2017
1 parent 45a7740 commit c33a587
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions layers/+lang/ess/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
;; Explicitly run prog-mode hooks since ess-mode does not derive from
;; prog-mode major-mode
(add-hook 'ess-mode-hook 'spacemacs/run-prog-mode-hooks)
(add-hook 'inferior-ess-mode-hook
'(lambda () (progn
(setq-local comint-use-prompt-regexp nil)
(setq-local inhibit-field-text-motion nil))))
(when (configuration-layer/package-usedp 'company)
(add-hook 'ess-mode-hook 'company-mode))))

Expand Down

0 comments on commit c33a587

Please sign in to comment.