emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/forth-mode f418b9aac2 087/153: Set process coding system f


From: ELPA Syncer
Subject: [nongnu] elpa/forth-mode f418b9aac2 087/153: Set process coding system for SwiftForth.
Date: Sat, 29 Jan 2022 08:02:21 -0500 (EST)

branch: elpa/forth-mode
commit f418b9aac21d3139144c36414864a25f795df352
Author: Lars Brinkhoff <lars@nocrew.org>
Commit: Lars Brinkhoff <lars@nocrew.org>

    Set process coding system for SwiftForth.
---
 backend/swiftforth.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/backend/swiftforth.el b/backend/swiftforth.el
index b681165b31..4a91c26a6c 100644
--- a/backend/swiftforth.el
+++ b/backend/swiftforth.el
@@ -1,5 +1,12 @@
 (require 'forth-interaction-mode)
 
+(set-process-coding-system (get-buffer-process forth-interaction-buffer)
+                          'raw-text-dos 'raw-text-dos)
+(save-excursion
+  (with-current-buffer forth-interaction-buffer
+    (goto-char (point-max))
+    (insert "\n")))
+
 (forth-interaction-send (concat "include " forth-backend-dir 
"/swiftforth.fth"))
 
 (provide 'swiftforth)



reply via email to

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