From: Stefan Kangas Date: Wed, 21 Oct 2020 15:31:47 +0000 (+0200) Subject: ; * lisp/emacs-lisp/bindat.el (bindat-unpack): Fix typo. X-Git-Tag: emacs-28.0.90~5500 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=743bd40126af56ef2b388d05e53758237b77019b;p=emacs.git ; * lisp/emacs-lisp/bindat.el (bindat-unpack): Fix typo. --- 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))