Prevent nav-flash from causing seizures in term-mode
This commit is contained in:
parent
ef66bc3e5e
commit
5319f655b4
1 changed files with 4 additions and 3 deletions
|
@ -6,9 +6,10 @@
|
|||
(let ((point (save-excursion (goto-char (window-start))
|
||||
(point-marker))))
|
||||
(apply orig-fn args)
|
||||
(unless (equal point
|
||||
(save-excursion (goto-char (window-start))
|
||||
(point-marker)))
|
||||
(unless (or (derived-mode-p 'term-mode)
|
||||
(equal point
|
||||
(save-excursion (goto-char (window-start))
|
||||
(point-marker))))
|
||||
(+doom/blink-cursor))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue