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

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

[elpa] externals/bluetooth 0cac7d9 09/57: makes status display in mode l


From: Stefan Monnier
Subject: [elpa] externals/bluetooth 0cac7d9 09/57: makes status display in mode line buffer-local
Date: Thu, 7 Nov 2019 23:28:49 -0500 (EST)

branch: externals/bluetooth
commit 0cac7d9bda2ff522559c1f5b99fbc756696e93a2
Author: Raffael Stocker <address@hidden>
Commit: Raffael Stocker <address@hidden>

    makes status display in mode line buffer-local
---
 bluetooth.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bluetooth.el b/bluetooth.el
index 0ccf6eb..217c7e5 100644
--- a/bluetooth.el
+++ b/bluetooth.el
@@ -372,8 +372,8 @@ This function only uses the first adapter reported by 
Bluez."
     (bluetooth-mode)
     (bluetooth--register-agent)
     (add-hook 'kill-buffer-hook #'bluetooth--cleanup nil t)
-    (setq mode-line-misc-info (cl-pushnew bluetooth--mode-info
-                                         mode-line-misc-info))
+    (set (make-local-variable 'mode-line-misc-info)
+        (cl-pushnew bluetooth--mode-info mode-line-misc-info))
     (tabulated-list-print)))
 
 ;;; Bluetooth pairing agent code



reply via email to

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