summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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)))))