From 8c21bef6d1a31b6a5f1879530f7dcb2525d942ca Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Mon, 10 Dec 2012 20:37:36 -0600 Subject: [PATCH] * lisp/calc/calc-forms.el (calc-date-notation): Fix typo. --- lisp/calc/calc-forms.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/calc/calc-forms.el b/lisp/calc/calc-forms.el index f72d20a57a0..7cfca261fa3 100644 --- a/lisp/calc/calc-forms.el +++ b/lisp/calc/calc-forms.el @@ -82,7 +82,7 @@ (calc-wrapper (if (string-match-p "\\`\\s-*\\'" fmt) (setq fmt "1")) - (if (string-match "\\` \\(*[0-9]\\|10\\|11\\) *\\'" fmt) + (if (string-match "\\` *\\([0-9]\\|10\\|11\\) *\\'" fmt) (setq fmt (nth (string-to-number fmt) calc-standard-date-formats))) (or (string-match "[a-zA-Z]" fmt) (error "Bad date format specifier")) -- 2.39.5