From 891be6f14065950465bf6e360013ceae0cb955bd Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 2 Sep 2021 09:19:54 +0200 Subject: [PATCH] Fix up previous ebfn2ps tweak * lisp/progmodes/ebnf2ps.el (ebnf-print-buffer): Remove NOOP decode step. --- lisp/progmodes/ebnf2ps.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el index 3be3d7032db..6ad55fc1423 100644 --- a/lisp/progmodes/ebnf2ps.el +++ b/lisp/progmodes/ebnf2ps.el @@ -2248,9 +2248,7 @@ number, prompt the user for the name of the file to save in." ;; Make non-ASCII work (sort of). (lambda (string) (ps-output t (and string - (encode-coding-string - (decode-coding-string string 'utf-8) - 'iso-8859-1)))))) + (encode-coding-string string 'iso-8859-1)))))) (ebnf-print-region (point-min) (point-max) filename))) ;;;###autoload -- 2.39.2