diff options
author | Tom Willemse | 2021-02-27 17:28:16 -0800 |
---|---|---|
committer | Tom Willemse | 2021-02-27 17:28:16 -0800 |
commit | 9eddaf6b8116cc780805cc2a5123434caa5dff51 (patch) | |
tree | 609dc5a9fb412d6472d8f56be4cbaa2265795f17 /oni-eshell.el | |
parent | 869c3073b36ee3dedc0bf58bb750268a95e7262c (diff) | |
download | emacs-config-9eddaf6b8116cc780805cc2a5123434caa5dff51.tar.gz emacs-config-9eddaf6b8116cc780805cc2a5123434caa5dff51.zip |
Disable Beacon for Eshell scrolling
Diffstat (limited to 'oni-eshell.el')
-rw-r--r-- | oni-eshell.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/oni-eshell.el b/oni-eshell.el index 16585db..b49a375 100644 --- a/oni-eshell.el +++ b/oni-eshell.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2020.1210.213125 +;; Version: 2021.0227.172750 ;; Package-Requires: (eshell-fringe-status esh-autosuggest xterm-color eshell-syntax-highlighting) ;; This program is free software; you can redistribute it and/or modify @@ -99,11 +99,16 @@ new-path (concat "/" new-path)))) +(defun oni-eshell-disable-beacon-on-scroll () + "Disable ‘beacon-blink-when-window-scrolls’ in the current buffer." + (setq-local beacon-blink-when-window-scrolls nil)) + (add-hook 'eshell-before-prompt-hook #'oni-eshell--set-xterm-variables) (add-hook 'eshell-first-time-mode-hook #'oni-eshell--expand-keymap) (add-hook 'eshell-load-hook #'oni-eshell--disable-ansi-color-handling) (add-hook 'eshell-load-hook #'oni-eshell--enable-truncating-buffers) (add-hook 'eshell-load-hook #'oni-eshell--enable-xterm-filter) +(add-hook 'eshell-mode-hook #'oni-eshell-disable-beacon-on-scroll) (add-hook 'eshell-mode-hook 'esh-autosuggest-mode) (add-hook 'eshell-mode-hook 'eshell-syntax-highlighting-mode) (add-hook 'eshell-mode-hook 'goto-address-mode) |