Remove the code that reset the first line.

This part doesn't seem to be needed any longer. I tested it in terminal
and in GUI modes, both with spacemacs and spacemacs-base distributions,
both with and without a banner: No visual difference with and without
this code.
This commit is contained in:
Fabien Dubosson 2015-10-21 16:28:32 +02:00 committed by syl20bnr
parent f7139a4167
commit ecf35c25e6
1 changed files with 1 additions and 8 deletions

View File

@ -135,15 +135,8 @@ buffer, right justified."
(format "(%s)" spacemacs-version)))
(pos (- maxcol (length injected)))
(buffer-read-only nil))
;; reset first line
(beginning-of-buffer)
(let ((buffer-read-only nil)
x-select-enable-clipboard
select-enable-clipboard)
(end-of-line)
(kill-line (- maxcol)))
(beginning-of-buffer)
;; fill the first line with spaces if required
(beginning-of-buffer)
(when (< (line-end-position) maxcol)
(end-of-line)
(insert-char ?\s (- maxcol (line-end-position))))