branch: externals/bluetooth commit 0cac7d9bda2ff522559c1f5b99fbc756696e93a2 Author: Raffael Stocker <r.stoc...@mnet-mail.de> Commit: Raffael Stocker <r.stoc...@mnet-mail.de>
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