branch: externals/setup commit 8f586c3fea06db1b3d268a917496f0f43eaf9d8f Author: Philip K <phil...@posteo.net> Commit: Philip K <phil...@posteo.net>
Fix hide-mode handling for the first element in minor-mode-alist --- setup.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.el b/setup.el index 5e3f3f5..ec73905 100644 --- a/setup.el +++ b/setup.el @@ -350,8 +350,9 @@ form (prepend VAR), VAL is prepended to VAR." (setup-define :hide-mode (lambda () - `(delq (assq setup-mode minor-mode-alist) - minor-mode-alist)) + `(setq minor-mode-alist + (delq (assq setup-mode minor-mode-alist) + minor-mode-alist))) :documentation "Hide the mode-line lighter of the current mode." :after-loaded t)