]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert previous ps-mode.el change
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 13 Jun 2019 00:54:24 +0000 (02:54 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 13 Jun 2019 00:54:24 +0000 (02:54 +0200)
* lisp/progmodes/ps-mode.el (ps-mode-octal-region): Revert
previous change because the `string-make-unibyte' insertion was
the previous single change (in 2013) to this file, so it must have
some subtle meaning or other.

lisp/progmodes/ps-mode.el

index cf09b98b491ebd8e57dd559a8d9a2e45894bd43a..0ea2bee0aa212dff64cbca1791fc696bba4c9bb5 100644 (file)
@@ -739,7 +739,8 @@ Only one `%' is removed, and it has to be in the first column."
           (setq i (1+ i))
           (backward-char)
           (insert (format "\\%03o" (string-to-char
-                                    (buffer-substring (point) (1+ (point))))))
+                                    (string-make-unibyte
+                                     (buffer-substring (point) (1+ (point)))))))
           (delete-char 1))
         (message "%d change%s made" i (if (= i 1) "" "s"))
         (set-marker endm nil)))))