Commit f0646ca0 authored by Roland McGrath's avatar Roland McGrath
Browse files

(update-file-autoloads): Use anchored regexp search instead of requiring

leading newline before generate-autoload-cookie, which gave false negative
if sole cookie in file was at bob.
parent 7050d530
......@@ -376,8 +376,9 @@ Autoload section for %s is up to date."
(goto-char (point-min))
(if (search-forward
(concat "\n" generate-autoload-cookie)
(if (re-search-forward
(concat "^" (regexp-quote
nil t)
(if (interactive-p)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment