Remove references to enh-ruby-mode

This commit is contained in:
Henrik Lissner 2020-03-12 11:29:54 -04:00
parent f82771980a
commit dd402b7db3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
12 changed files with 12 additions and 19 deletions

View file

@ -33,7 +33,6 @@ This module add Ruby and optional Ruby on Rails support to Emacs.
+ =+rails= Enables rails navigational commands, plus server+console integration.
** Packages
+ [[https://github.com/zenspider/enhanced-ruby-mode][enh-ruby-mode]]
+ [[https://github.com/nonsequitur/inf-ruby][inf-ruby]]
+ [[https://github.com/company-mode/company-inf-ruby][company-inf-ruby]]
+ [[https://github.com/rubocop-hq/rubocop-emacs][rubocop]]

View file

@ -1,11 +1,11 @@
;;; lang/ruby/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +ruby|cleanup-robe-servers ()
"Clean up dangling inf robe processes if there are no more `enh-ruby-mode'
buffers open."
(defun +ruby-cleanup-robe-servers-h () ; TODO Use me
"Clean up dangling inf robe processes if there are no more `ruby-mode' buffers
open."
;; FIXME This should wait X seconds before cleaning up
(unless (or (not robe-mode) (doom-buffers-in-mode 'enh-ruby-mode))
(unless (or (not robe-mode) (doom-buffers-in-mode 'ruby-mode))
(let (inf-buffer kill-buffer-query-functions)
(while (setq inf-buffer (robe-inf-buffer))
(let ((process (get-buffer-process inf-buffer))