1
0
Fork 0

Don't run eshell-fringe-status in terminal Emacs

This commit is contained in:
Tom Willemse 2019-02-26 02:19:53 -08:00
parent 7f2de7064b
commit 8596739704

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190226014039 ;; Version: 20190226021452
;; Package-Requires: (eshell-fringe-status) ;; Package-Requires: (eshell-fringe-status)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -48,10 +48,12 @@
(define-key eshell-mode-map (kbd "C-d") #'oni-eshell--C-d)) (define-key eshell-mode-map (kbd "C-d") #'oni-eshell--C-d))
(add-hook 'eshell-load-hook #'oni-eshell--enable-truncating-buffers) (add-hook 'eshell-load-hook #'oni-eshell--enable-truncating-buffers)
(add-hook 'eshell-mode-hook 'eshell-fringe-status-mode)
(add-hook 'eshell-mode-hook 'goto-address-mode) (add-hook 'eshell-mode-hook 'goto-address-mode)
(add-hook 'eshell-first-time-mode-hook #'oni-eshell--set-eshell-C-d) (add-hook 'eshell-first-time-mode-hook #'oni-eshell--set-eshell-C-d)
(if (window-system)
(add-hook 'eshell-mode-hook 'eshell-fringe-status-mode))
;;;###autoload(with-eval-after-load 'eshell (require 'oni-eshell)) ;;;###autoload(with-eval-after-load 'eshell (require 'oni-eshell))
(provide 'oni-eshell) (provide 'oni-eshell)