emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/setup 8f586c3 16/24: Fix hide-mode handling for the fir


From: Stefan Monnier
Subject: [elpa] externals/setup 8f586c3 16/24: Fix hide-mode handling for the first element in minor-mode-alist
Date: Thu, 25 Mar 2021 13:42:37 -0400 (EDT)

branch: externals/setup
commit 8f586c3fea06db1b3d268a917496f0f43eaf9d8f
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]