mirror of
https://github.com/correl/melpa.git
synced 2024-12-18 19:21:32 +00:00
Merge pull request #390 from dgutov/master
Remove the leading blank line in the readmes
This commit is contained in:
commit
715370b55b
1 changed files with 3 additions and 0 deletions
|
@ -450,6 +450,9 @@ The file is written to `package-build-working-dir'."
|
|||
(when (re-search-forward "^;;; Commentary:\n" nil t)
|
||||
(replace-match ""))
|
||||
(while (re-search-forward "^\\(;+ ?\\)" nil t)
|
||||
(replace-match ""))
|
||||
(goto-char (point-min))
|
||||
(when (re-search-forward "\\`\\( *\n\\)+" nil t)
|
||||
(replace-match "")))
|
||||
(delete-trailing-whitespace)
|
||||
(let ((coding-system-for-write buffer-file-coding-system))
|
||||
|
|
Loading…
Reference in a new issue