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

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

[elpa] externals/bluetooth bd95b1ca0b 15/32: revert to mapc instead of -


From: Stefan Kangas
Subject: [elpa] externals/bluetooth bd95b1ca0b 15/32: revert to mapc instead of --map when used for side-effects only
Date: Mon, 3 Jan 2022 15:11:07 -0500 (EST)

branch: externals/bluetooth
commit bd95b1ca0b70493b7e645251bc5744b82f6ddc0c
Author: Raffael Stocker <r.stocker@mnet-mail.de>
Commit: Raffael Stocker <r.stocker@mnet-mail.de>

    revert to mapc instead of --map when used for side-effects only
---
 bluetooth.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bluetooth.el b/bluetooth.el
index f460b1bbc2..9d638e33bb 100644
--- a/bluetooth.el
+++ b/bluetooth.el
@@ -4201,7 +4201,7 @@ scanning the bus, displaying device info etc."
        (with-current-buffer-window bluetooth-info-buffer-name nil nil
          (let ((props (bluetooth-device-properties dev-id)))
                (bluetooth--ins-heading "Bluetooth device info\n\n")
-               (--map (bluetooth--ins-attr props it)
+               (mapc (lambda (it) (bluetooth--ins-attr props it))
                           '("Alias" "Address" "AddressType" "Paired" "Trusted"
                                 "Blocked" "LegacyPairing" "Connected" 
"Modalias"
                                 "ServicesResolved" "WakeAllowed" "Adapter"))
@@ -4220,7 +4220,7 @@ scanning the bus, displaying device info etc."
                 (props (bluetooth--adapter-properties adapter)))
        (with-current-buffer-window bluetooth-info-buffer-name nil nil
          (bluetooth--ins-heading "Bluetooth adapter info\n\n")
-         (--map (bluetooth--ins-attr props it)
+         (mapc (lambda (it) (bluetooth--ins-attr props it))
                         '("Alias" "Address" "AddressType" "Powered" 
"Discoverable"
                           "DiscoverableTimeout" "Pairable" "PairableTimeout"
                           "Discovering" "Roles" "Modalias"))



reply via email to

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