From 743bd40126af56ef2b388d05e53758237b77019b Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 21 Oct 2020 17:31:47 +0200 Subject: [PATCH] ; * 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 f6f8b7c8ccc..95581c40a46 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)) -- 2.39.2