[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/bluetooth dd28c81 11/57: turns defvar into defconst whe
From: |
Stefan Monnier |
Subject: |
[elpa] externals/bluetooth dd28c81 11/57: turns defvar into defconst where possible |
Date: |
Thu, 7 Nov 2019 23:28:50 -0500 (EST) |
branch: externals/bluetooth
commit dd28c8145077ae1b43bcc37b800de9aff39b6855
Author: Raffael Stocker <address@hidden>
Commit: Raffael Stocker <address@hidden>
turns defvar into defconst where possible
---
bluetooth.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/bluetooth.el b/bluetooth.el
index ccbcee1..3529d5e 100644
--- a/bluetooth.el
+++ b/bluetooth.el
@@ -57,10 +57,10 @@
;;; the second is the displayed string if the property is non-nil and
;;; the third is the displayed string if the property is nil. If a
;;; display element is nil, nothing will be displayed for this property.
-(defvar bluetooth--mode-state '(("Powered" nil "off")
- ("Discoverable" "discoverable" nil)
- ("Pairable" "pairable" nil)
- ("Discovering" "scan" nil))
+(defconst bluetooth--mode-state '(("Powered" nil "off")
+ ("Discoverable" "discoverable" nil)
+ ("Pairable" "pairable" nil)
+ ("Discovering" "scan" nil))
"Mode line adapter state information.")
;;; Bluez service name as defined by the Bluez API
@@ -70,11 +70,11 @@
(defconst bluetooth--root "/org/bluez" "D-Bus path root for Bluez.")
;;; our path name for the pairing agent
-(defvar bluetooth--own-path (concat dbus-path-emacs "/bluetooth")
+(defconst bluetooth--own-path (concat dbus-path-emacs "/bluetooth")
"D-Bus object path for the pairing agent.")
;;; the interface name for the pairing agent
-(defvar bluetooth--own-intf (concat dbus-interface-emacs ".bluetooth")
+(defconst bluetooth--own-intf (concat dbus-interface-emacs ".bluetooth")
"D-Bus interface name for the pairing agent.")
(defconst bluetooth--agent-mngr-intf "org.bluez.AgentManager1"
@@ -95,7 +95,7 @@
;;;
;;; The path-spec is a list of functions, defined below, that
;;; return the designated constituents of the D-Bus path.
-(defvar bluetooth--api-info '(:device
+(defconst bluetooth--api-info '(:device
(:path
(bluetooth--adapter bluetooth--device)
:interface "org.bluez.Device1")
- [elpa] branch externals/bluetooth created (now 55304bb), Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 6cdc794 01/57: Initial commit, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth f16a702 07/57: fixes undefined function problem (first/second/third -> car etc.), Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 2fbe9e4 04/57: adds URL, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 9d1369a 05/57: adds Readme.org and removes Readme.md, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 5db9e29 08/57: adds bluetooth--release, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth a883d60 10/57: fixes spurious error on clean-up, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth e6ca72d 06/57: corrects docstrings and Readme.org, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth dd28c81 11/57: turns defvar into defconst where possible,
Stefan Monnier <=
- [elpa] externals/bluetooth 00497ca 03/57: adds bluetooth.el and .gitignore, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 0cac7d9 09/57: makes status display in mode line buffer-local, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 58dd9f9 12/57: adds 'Maintainer' header and cleans up 'Package-Requires', Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 2560749 15/57: adds Imenu integration, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth cc33d79 14/57: corrects project name in LICENSE, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 3743458 17/57: corrects list redisplay when mode is restarted, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 8cac69d 26/57: checks list-id for nil to avoid errors at actions w/o list item, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth 4a40ee6 24/57: adds GATT UUIDs and a rudimentary display function, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth f33cb12 02/57: Add LICENSE, Stefan Monnier, 2019/11/07
- [elpa] externals/bluetooth ee4e582 30/57: fixes compiler warnings about unused parameters, Stefan Monnier, 2019/11/07