mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-12 17:10:43 -08:00
package--ensure-init-file: widen before looking for "(package-initialize)"
This commit is contained in:
parent
a9ccfaefc1
commit
845cb4a2ce
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue