Disable continue-comments-on-RET in ess-r-mode & coq-mode
Fixes #2081, #2233
This commit is contained in:
parent
e5fa19ea2d
commit
566d54d984
2 changed files with 12 additions and 3 deletions
|
@ -28,6 +28,11 @@
|
|||
(set-eval-handler! 'ess-help-mode #'ess-eval-region-and-go)
|
||||
(set-eval-handler! 'ess-r-help-mode #'ess-eval-region-and-go)
|
||||
|
||||
(setq-hook! 'ess-r-mode-hook
|
||||
;; HACK Fix #2233: Doom continues comments on RET, but ess-r-mode doesn't
|
||||
;; have a sane `comment-line-break-function', so...
|
||||
comment-line-break-function nil)
|
||||
|
||||
(map! (:after ess-help
|
||||
:map ess-help-mode-map
|
||||
:n "q" #'kill-current-buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue