aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2018-04-15 00:48:27 +0200
committerLars Ingebrigtsen2018-04-15 00:48:27 +0200
commit3250651e9cbb691db6dae04f2c13a139d81c6616 (patch)
tree5f948d8615a6d96c3ac351bca3a57a06a8516d54
parent466693416d143f42c606c6aeb0c48a777fc1d637 (diff)
downloademacs-3250651e9cbb691db6dae04f2c13a139d81c6616.tar.gz
emacs-3250651e9cbb691db6dae04f2c13a139d81c6616.zip
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.
-rw-r--r--lisp/gnus/nndoc.el2
1 files changed, 1 insertions, 1 deletions
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.")
765 (looking-at "JMF")) 765 (looking-at "JMF"))
766 766
767(defun nndoc-oe-dbx-type-p () 767(defun nndoc-oe-dbx-type-p ()
768 (looking-at (string-to-multibyte "\317\255\022\376"))) 768 (looking-at "\317\255\022\376"))
769 769
770(defun nndoc-read-little-endian () 770(defun nndoc-read-little-endian ()
771 (+ (prog1 (char-after) (forward-char 1)) 771 (+ (prog1 (char-after) (forward-char 1))