diff --git a/package-build.el b/package-build.el index a60dd543..99cb65aa 100644 --- a/package-build.el +++ b/package-build.el @@ -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)