lang/ruby: show messages when robe throws errors
This commit is contained in:
parent
f23960b919
commit
c7abe743d1
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@
|
|||
(when (executable-find "ruby")
|
||||
(cl-letf (((symbol-function #'yes-or-no-p) (lambda (_) t)))
|
||||
(save-window-excursion
|
||||
(ignore-errors (robe-start)))
|
||||
(with-demoted-errors "ROBE ERROR: %s"
|
||||
(robe-start)))
|
||||
(when (robe-running-p)
|
||||
(add-hook 'kill-buffer-hook #'+ruby|cleanup-robe-servers nil t)))))
|
||||
(add-hook 'enh-ruby-mode-hook #'+ruby|init-robe)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue