mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/calc/calc-forms.el (calc-date-notation): Fix typo.
This commit is contained in:
parent
ff3f6c266a
commit
8c21bef6d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue