diff options
| author | Chong Yidong | 2008-02-23 20:28:58 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-02-23 20:28:58 +0000 |
| commit | 6c83ba5cac95b02ddfea75fe1f6d675f972cc065 (patch) | |
| tree | 11b5d6ec94f2b767176eb7655e9a74e1a42b3fde | |
| parent | 46e114403d29647ba808194e193b30b10e3011f6 (diff) | |
| download | emacs-6c83ba5cac95b02ddfea75fe1f6d675f972cc065.tar.gz emacs-6c83ba5cac95b02ddfea75fe1f6d675f972cc065.zip | |
(bibtex-convert-alien): Fix sit-for ags.
| -rw-r--r-- | lisp/textmodes/bibtex.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 1d79e0d8005..17b03dba850 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -4176,14 +4176,14 @@ With prefix argument READ-OPTIONS non-nil, read options for reformatting | |||
| 4176 | entries from minibuffer." | 4176 | entries from minibuffer." |
| 4177 | (interactive "*P") | 4177 | (interactive "*P") |
| 4178 | (message "Starting to validate buffer...") | 4178 | (message "Starting to validate buffer...") |
| 4179 | (sit-for 1 nil t) | 4179 | (sit-for 1 t) |
| 4180 | (bibtex-realign) | 4180 | (bibtex-realign) |
| 4181 | (deactivate-mark) ; So bibtex-validate works on the whole buffer. | 4181 | (deactivate-mark) ; So bibtex-validate works on the whole buffer. |
| 4182 | (if (not (let (bibtex-maintain-sorted-entries) | 4182 | (if (not (let (bibtex-maintain-sorted-entries) |
| 4183 | (bibtex-validate))) | 4183 | (bibtex-validate))) |
| 4184 | (message "Correct errors and call `bibtex-convert-alien' again") | 4184 | (message "Correct errors and call `bibtex-convert-alien' again") |
| 4185 | (message "Starting to reformat entries...") | 4185 | (message "Starting to reformat entries...") |
| 4186 | (sit-for 2 nil t) | 4186 | (sit-for 2 t) |
| 4187 | (bibtex-reformat read-options) | 4187 | (bibtex-reformat read-options) |
| 4188 | (goto-char (point-max)) | 4188 | (goto-char (point-max)) |
| 4189 | (message "Buffer is now parsable. Please save it."))) | 4189 | (message "Buffer is now parsable. Please save it."))) |