branch: externals/bluetooth
commit f16a702824af2765b56a2d3919333231bd7afc78
Author: Raffael Stocker <[email protected]>
Commit: Raffael Stocker <[email protected]>
fixes undefined function problem (first/second/third -> car etc.)
---
bluetooth.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bluetooth.el b/bluetooth.el
index e39b512..9efd9ed 100644
--- a/bluetooth.el
+++ b/bluetooth.el
@@ -341,8 +341,8 @@ This function only uses the first adapter reported by
Bluez."
(car adapters))
"org.bluez.Adapter1"))
(info (mapconcat #'identity
- (-keep #'(lambda (x) (if (cdr (assoc (first x) resp))
- (second x) (third x)))
+ (-keep #'(lambda (x) (if (cdr (assoc (car x) resp))
+ (cadr x) (caddr x)))
bluetooth--mode-state)
",")))
(unless (string-blank-p info)