Commit 6c83ba5c authored by Chong Yidong's avatar Chong Yidong
Browse files

(bibtex-convert-alien): Fix sit-for ags.

parent 46e11440
......@@ -4176,14 +4176,14 @@ With prefix argument READ-OPTIONS non-nil, read options for reformatting
entries from minibuffer."
(interactive "*P")
(message "Starting to validate buffer...")
(sit-for 1 nil t)
(sit-for 1 t)
(bibtex-realign)
(deactivate-mark) ; So bibtex-validate works on the whole buffer.
(if (not (let (bibtex-maintain-sorted-entries)
(bibtex-validate)))
(message "Correct errors and call `bibtex-convert-alien' again")
(message "Starting to reformat entries...")
(sit-for 2 nil t)
(sit-for 2 t)
(bibtex-reformat read-options)
(goto-char (point-max))
(message "Buffer is now parsable. Please save it.")))
......
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