minor-mode

Emacs: How to enable a mode globally?

﹥>﹥吖頭↗ 提交于 2019-12-12 20:25:49
问题 I just have a mode from an addon which I want to enable globally. In order to turn on it by hand I need to enter M-x highlight-indentation-mode . So, below is a list of what I have tried yet: (highlight-indentation-mode t) , (highlight-indentation-mode 1) , (setq highlight-indentation-mode t) . Nothing worked. Next I figure out that may be I need to enable a mode globally, and I started google about it. What I have tried next: (define-globalized-minor-mode global-highlight-indentation-mode