summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ps-mode.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-13 02:54:24 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-13 02:54:24 +0200
commit986e333eaafd581f3d4d97793723a9333fce9790 (patch)
tree9b1c5cb2244a9c49de45d621793e28cb98241faf /lisp/progmodes/ps-mode.el
parent5b7ec43c6103dcaa6687773f626e81dae4fdda19 (diff)
downloademacs-986e333eaafd581f3d4d97793723a9333fce9790.tar.gz
Revert previous ps-mode.el change
* 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.
Diffstat (limited to 'lisp/progmodes/ps-mode.el')
-rw-r--r--lisp/progmodes/ps-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el
index cf09b98b491..0ea2bee0aa2 100644
--- a/lisp/progmodes/ps-mode.el
+++ b/lisp/progmodes/ps-mode.el
@@ -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)))))