From 3250651e9cbb691db6dae04f2c13a139d81c6616 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 15 Apr 2018 00:48:27 +0200 Subject: [PATCH] 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. --- lisp/gnus/nndoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5