diff --git a/emacs/.emacs.d/config/init-ide.el b/emacs/.emacs.d/config/init-ide.el index 2d57446..5a89359 100644 --- a/emacs/.emacs.d/config/init-ide.el +++ b/emacs/.emacs.d/config/init-ide.el @@ -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)