]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove call to string-to-multibyte from nndoc.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 22:48:27 +0000 (00:48 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 22:48:27 +0000 (00:48 +0200)
* 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

index 2ed023f68635867c120cf720d87752901c087b5d..149406a9a21438d35713f6636b956a3e5b1dd519 100644 (file)
@@ -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))