emacs-diffs
[Top][All Lists]
Advanced

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

master 743bd40: ; * lisp/emacs-lisp/bindat.el (bindat-unpack): Fix typo.


From: Stefan Kangas
Subject: master 743bd40: ; * lisp/emacs-lisp/bindat.el (bindat-unpack): Fix typo.
Date: Wed, 21 Oct 2020 11:32:47 -0400 (EDT)

branch: master
commit 743bd40126af56ef2b388d05e53758237b77019b
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    ; * lisp/emacs-lisp/bindat.el (bindat-unpack): Fix typo.
---
 lisp/emacs-lisp/bindat.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/bindat.el b/lisp/emacs-lisp/bindat.el
index f6f8b7c..95581c4 100644
--- a/lisp/emacs-lisp/bindat.el
+++ b/lisp/emacs-lisp/bindat.el
@@ -341,7 +341,7 @@
   "Return structured data according to SPEC for binary data in RAW.
 RAW is a unibyte string or vector.
 Optional third arg IDX specifies the starting offset in RAW."
-  (when (multibyte-string-p bindat-raw)
+  (when (multibyte-string-p raw)
     (error "String is multibyte"))
   (setq bindat-raw raw)
   (setq bindat-idx (or idx 0))



reply via email to

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