mirror of
https://github.com/correl/melpa.git
synced 2024-11-22 19:18:39 +00:00
Don't leave modified buffers open after looking for package info in files
This commit is contained in:
parent
ae8e8ec191
commit
b5f5bbc7b0
1 changed files with 2 additions and 2 deletions
|
@ -385,8 +385,8 @@ FILES if non-nil. The file is written to
|
|||
"Get a vector of package info from the docstrings in FILE-PATH."
|
||||
(when (file-exists-p file-path)
|
||||
(ignore-errors
|
||||
(save-window-excursion
|
||||
(find-file file-path)
|
||||
(with-temp-buffer
|
||||
(insert-file-contents file-path)
|
||||
;; next two lines are a hack for some packages that aren't
|
||||
;; commented properly.
|
||||
(goto-char (point-max))
|
||||
|
|
Loading…
Reference in a new issue