]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix up previous ebfn2ps tweak
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 2 Sep 2021 07:19:54 +0000 (09:19 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 2 Sep 2021 07:19:54 +0000 (09:19 +0200)
* lisp/progmodes/ebnf2ps.el (ebnf-print-buffer): Remove NOOP decode
step.

lisp/progmodes/ebnf2ps.el

index 3be3d7032dbbfa09f3f0843aabe6a6de3a0faa08..6ad55fc14234d86396ad965ab4b2d64652b6df71 100644 (file)
@@ -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