24 lines
549 B
EmacsLisp
24 lines
549 B
EmacsLisp
;;; module-detached.el --- dtach for Emacs
|
|
;;; Commentary:
|
|
;;; Setup dtach and Emacs integration.
|
|
;;;
|
|
;;; Code:
|
|
|
|
(require 'module-pkg)
|
|
|
|
(pkg/require 'detached)
|
|
|
|
(setq detached-terminal-data-command system-type)
|
|
|
|
(detached-init)
|
|
|
|
(global-set-key [remap async-shell-command] 'detached-shell-command)
|
|
(global-set-key [remap compile] 'detached-compile)
|
|
(global-set-key [remap recompile] 'detached-compile-recompile)
|
|
(global-set-key [remap detached-open-session] 'detached-consult-session)
|
|
|
|
(provide 'module-detached)
|
|
|
|
;;; module-detached.el ends here.
|
|
|