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

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

[elpa] externals/osc 4652f37 7/8: * packages/osc/osc.el: Enable lexical-


From: Stefan Monnier
Subject: [elpa] externals/osc 4652f37 7/8: * packages/osc/osc.el: Enable lexical-binding
Date: Tue, 1 Dec 2020 18:00:16 -0500 (EST)

branch: externals/osc
commit 4652f370dd6a43858e614bdaf8d794ebb996dbc0
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * packages/osc/osc.el: Enable lexical-binding
---
 osc.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/osc.el b/osc.el
index a63d382..28a1a5c 100644
--- a/osc.el
+++ b/osc.el
@@ -1,6 +1,6 @@
-;;; osc.el --- Open Sound Control protocol library
+;;; osc.el --- Open Sound Control protocol library  -*- lexical-binding:t -*-
 
-;; Copyright (C) 2014-2019  Free Software Foundation, Inc.
+;; Copyright (C) 2014-2020  Free Software Foundation, Inc.
 
 ;; Author: Mario Lang <mlang@blind.guru>
 ;; Version: 0.2
@@ -87,7 +87,7 @@
 
 (defun osc-int32 (value)
   (let (bytes)
-    (dotimes (i 4)
+    (dotimes (_ 4)
       (push (% value 256) bytes)
       (setq value (/ value 256)))
     (apply 'unibyte-string bytes)))
@@ -149,7 +149,7 @@
 
 (defun osc-read-int32 ()
   (let ((value 0))
-    (dotimes (i 4)
+    (dotimes (_ 4)
       (setq value (logior (* value 256) (following-char)))
       (forward-char 1))
     value))



reply via email to

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