mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(bibtex-convert-alien): Do not use optional args in calls of sit-for.
This commit is contained in:
parent
62754d298a
commit
48c4d6a236
2 changed files with 7 additions and 2 deletions
|
|
@ -4416,14 +4416,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)
|
||||
(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)
|
||||
(bibtex-reformat read-options)
|
||||
(goto-char (point-max))
|
||||
(message "Buffer is now parsable. Please save it.")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue