From 48c4d6a236e412f7855cf8114bc6874f998fb0a9 Mon Sep 17 00:00:00 2001 From: Roland Winkler Date: Wed, 20 Feb 2008 17:45:52 +0000 Subject: [PATCH] (bibtex-convert-alien): Do not use optional args in calls of sit-for. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/bibtex.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 839e5f48461..916bff5e73c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-02-20 Roland Winkler + + * textmodes/bibtex.el (bibtex-convert-alien): Do not use optional + args in calls of sit-for. + 2008-02-20 Juanma Barranquero * vc-svn.el (vc-svn-program): Fix typo in docstring. diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index b724c5c0e90..02139bd37d9 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -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."))) -- 2.39.5