mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 19:10:24 +10:00
Updating Doom Emacs.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user