aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2020-11-28 12:03:18 +0100
committerOmar Polo <op@omarpolo.com>2020-11-28 12:03:18 +0100
commit05f843a785d9ddcd98066165649c8a3b3264f31b (patch)
treefd023121572035c6f200be735650f2b721df0a41
parent10781b78fe08e3d38deaf3ab779ee31affc90c5b (diff)
downloadsam.el-05f843a785d9ddcd98066165649c8a3b3264f31b.tar.gz
sam.el-05f843a785d9ddcd98066165649c8a3b3264f31b.tar.bz2
append a newline when reporting errors
-rw-r--r--sam.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sam.el b/sam.el
index 3c16185..29829b2 100644
--- a/sam.el
+++ b/sam.el
@@ -81,7 +81,7 @@
(defun sam-report-error (err)
"Report error ERR on the sam buffer."
(with-current-buffer (sam-get-buffer)
- (insert "?" err)))
+ (insert "?" err "\n")))
(defun sam-parse-line (s)
"Parse S and return an cons of `address' and `command'."