Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable default helm modeline functions for helm-ag and helm-fd #585

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lerouxrgd
Copy link

More generic fix for #584

@@ -227,7 +228,8 @@ If DEFAULT is non-nil, set the default mode-line for all buffers."

;; Special handles
(advice-add #'helm-display-mode-line :after #'doom-modeline-set-helm-modeline)
(setq helm-ag-show-status-function #'doom-modeline-set-helm-modeline))
(setq helm-ag-show-status-function nil
helm-fd-mode-line-function nil))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any update?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually there is nothing more to do here. For helm-ag and helm-fd this is the best solution as setting those functions to nil prevents the modeline from being overwritten (in the code they check whether this is nil).

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean when disabling doom-modeline-mode, all vars should be restore to the original values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants