1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

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

This commit is contained in:
Chong Yidong 2008-02-23 20:28:58 +00:00
parent 46e114403d
commit 6c83ba5cac

View File

@ -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.")))