mirror of
https://github.com/correl/melpa.git
synced 2024-11-22 19:18:39 +00:00
parent
0346f6349c
commit
8302f8d308
1 changed files with 6 additions and 1 deletions
|
@ -505,7 +505,12 @@ The file is written to `package-build-working-dir'."
|
|||
"Ensure current buffer has a \"Version: VERSION\" header."
|
||||
(goto-char (point-min))
|
||||
(if (re-search-forward "^;;;* *Version: *" nil t)
|
||||
(kill-whole-line)
|
||||
(progn
|
||||
(move-beginning-of-line nil)
|
||||
(search-forward "Version" nil t)
|
||||
(backward-word)
|
||||
(insert "X-Original-")
|
||||
(move-beginning-of-line nil))
|
||||
(forward-line))
|
||||
(insert (format ";; Version: %s" version))
|
||||
(newline))
|
||||
|
|
Loading…
Reference in a new issue