emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 986e333: Revert previous ps-mode.el change


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 986e333: Revert previous ps-mode.el change
Date: Wed, 12 Jun 2019 20:54:30 -0400 (EDT)

branch: master
commit 986e333eaafd581f3d4d97793723a9333fce9790
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/progmodes/ps-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el
index cf09b98..0ea2bee 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)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]