Trim output before inserting
This commit is contained in:
parent
59ab43f820
commit
9a1f0aea68
@ -313,7 +313,9 @@
|
||||
(lambda ()
|
||||
(with-current-buffer buf
|
||||
(delete-region start end)
|
||||
(insert-buffer-substring temp-buffer)
|
||||
(insert (with-current-buffer temp-buffer
|
||||
(string-trim
|
||||
(buffer-substring-no-properties (point-min) (point-max)))))
|
||||
(goto-char (point-min))
|
||||
(forward-line (1- line))
|
||||
(move-to-column col)
|
||||
|
Loading…
Reference in New Issue
Block a user