mirror of
https://github.com/correl/melpa.git
synced 2024-11-24 11:09:51 +00:00
More liberal regexp in pb/update-or-insert-version
This commit is contained in:
parent
febb32aa75
commit
9e191b1ab6
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ Optionally PRETTY-PRINT the data."
|
|||
(defun pb/update-or-insert-version (version)
|
||||
"Ensure current buffer has a \"Version: VERSION\" header."
|
||||
(goto-char (point-min))
|
||||
(if (re-search-forward "^;;;* *Version: *" nil t)
|
||||
(if (re-search-forward "^;+* *Version *: *" nil t)
|
||||
(progn
|
||||
(move-beginning-of-line nil)
|
||||
(search-forward "V" nil t)
|
||||
|
|
Loading…
Reference in a new issue