]> code.delx.au - gnu-emacs/commitdiff
From Emilio C. Lopes <eclig@gmx.net>:
authorGlenn Morris <rgm@gnu.org>
Mon, 4 Oct 2004 23:46:42 +0000 (23:46 +0000)
committerGlenn Morris <rgm@gnu.org>
Mon, 4 Oct 2004 23:46:42 +0000 (23:46 +0000)
(calendar-goto-iso-week): Add autoload.
(calendar-mode-map): Add binding for `calendar-goto-iso-week'.

lisp/calendar/calendar.el

index 9d38cde21ce1a7f366c9bd143fcce12bbe67cb24..aa0b3005fad5f088c0897d78e2f51ef1f59c1399 100644 (file)
@@ -1769,6 +1769,10 @@ Driven by the variable `calendar-date-display-form'.")
   "Move cursor to ISO date."
   t)
 
+(autoload 'calendar-goto-iso-week "cal-iso"
+  "Move cursor to start of ISO week."
+  t)
+
 (autoload 'calendar-print-iso-date "cal-iso"
   "Show the ISO date equivalents of date."
   t)
@@ -2204,6 +2208,7 @@ the inserted text.  Value is always t."
   (define-key calendar-mode-map "ge"  'calendar-goto-ethiopic-date)
   (define-key calendar-mode-map "gp"  'calendar-goto-persian-date)
   (define-key calendar-mode-map "gc"  'calendar-goto-iso-date)
+  (define-key calendar-mode-map "gw"  'calendar-goto-iso-week)
   (define-key calendar-mode-map "gf"  'calendar-goto-french-date)
   (define-key calendar-mode-map "gml"  'calendar-goto-mayan-long-count-date)
   (define-key calendar-mode-map "gmpc" 'calendar-previous-calendar-round-date)