Commit 845cb4a2 authored by Sam Steingold's avatar Sam Steingold

package--ensure-init-file: widen before looking for "(package-initialize)"

parent a9ccfaef
......@@ -1782,6 +1782,7 @@ using `package-compute-transaction'."
(if buffer
(with-current-buffer buffer
(save-excursion
(widen)
(goto-char (point-min))
(search-forward "(package-initialize)" nil 'noerror)))
(with-temp-buffer
......
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