From: Lars Ingebrigtsen Date: Sat, 14 Apr 2018 22:48:27 +0000 (+0200) Subject: Remove call to string-to-multibyte from nndoc.el X-Git-Tag: emacs-27.0.90~5196 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3250651e9cbb691db6dae04f2c13a139d81c6616;p=emacs.git Remove call to string-to-multibyte from nndoc.el * lisp/gnus/nndoc.el (nndoc-oe-dbx-type-p): My testing shows that no matter whether we're in a unibyte or a multibyte buffer, doing the looking-at here without the string-to-multibyte, we'll get a match. We did not get a match with the call in and if we were in a unibyte buffer, but we presumably never are. --- diff --git a/lisp/gnus/nndoc.el b/lisp/gnus/nndoc.el index 2ed023f6863..149406a9a21 100644 --- a/lisp/gnus/nndoc.el +++ b/lisp/gnus/nndoc.el @@ -765,7 +765,7 @@ from the document.") (looking-at "JMF")) (defun nndoc-oe-dbx-type-p () - (looking-at (string-to-multibyte "\317\255\022\376"))) + (looking-at "\317\255\022\376")) (defun nndoc-read-little-endian () (+ (prog1 (char-after) (forward-char 1))