emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111183: * lisp/calc/calc-forms.el (c


From: Jay Belanger
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111183: * lisp/calc/calc-forms.el (calc-date-notation): Fix typo.
Date: Mon, 10 Dec 2012 20:37:36 -0600
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111183
committer: Jay Belanger <address@hidden>
branch nick: trunk
timestamp: Mon 2012-12-10 20:37:36 -0600
message:
  * lisp/calc/calc-forms.el (calc-date-notation): Fix typo.
modified:
  lisp/calc/calc-forms.el
=== modified file 'lisp/calc/calc-forms.el'
--- a/lisp/calc/calc-forms.el   2012-12-11 02:29:21 +0000
+++ b/lisp/calc/calc-forms.el   2012-12-11 02:37:36 +0000
@@ -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"))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]