Closed raxod502 closed 4 years ago
We should run Git asynchronously to compute the mode line display, otherwise Emacs may lag.
Temporary hack:
(defun radian-local-wrap-mode-line (orig &rest args) (cl-letf (((symbol-function #'executable-find) #'ignore)) (apply orig args))) (define-minor-mode radian-local-big-git-mode "Disable checking Git status in mode line." nil nil nil (if radian-local-big-git-mode (advice-add #'radian-mode-line-compute-project-and-branch :around #'radian-local-wrap-mode-line) (advice-remove #'radian-mode-line-compute-project-and-branch #'radian-local-wrap-mode-line)))
Solved by removing the Git status from the mode line.
We should run Git asynchronously to compute the mode line display, otherwise Emacs may lag.
Temporary hack: