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

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

[elpa] externals/bluetooth f16a702 07/57: fixes undefined function probl


From: Stefan Monnier
Subject: [elpa] externals/bluetooth f16a702 07/57: fixes undefined function problem (first/second/third -> car etc.)
Date: Thu, 7 Nov 2019 23:28:49 -0500 (EST)

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

    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)



reply via email to

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