summaryrefslogtreecommitdiff
path: root/lisp/calc
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2012-12-10 20:37:36 -0600
committerJay Belanger <jay.p.belanger@gmail.com>2012-12-10 20:37:36 -0600
commit8c21bef6d1a31b6a5f1879530f7dcb2525d942ca (patch)
tree373588cd22c5c745d82a5e2227a9eeab93a28148 /lisp/calc
parentff3f6c266a5a4fb730e7a59a8eb22005a6c0abb1 (diff)
downloademacs-8c21bef6d1a31b6a5f1879530f7dcb2525d942ca.tar.gz
emacs-8c21bef6d1a31b6a5f1879530f7dcb2525d942ca.tar.bz2
emacs-8c21bef6d1a31b6a5f1879530f7dcb2525d942ca.zip
* lisp/calc/calc-forms.el (calc-date-notation): Fix typo.
Diffstat (limited to 'lisp/calc')
-rw-r--r--lisp/calc/calc-forms.el2
1 files changed, 1 insertions, 1 deletions
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"))