summaryrefslogtreecommitdiff
path: root/lisp/calendar/calendar.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2004-10-04 23:46:42 +0000
committerGlenn Morris <rgm@gnu.org>2004-10-04 23:46:42 +0000
commitfb60b3e130f3e8dffa879fdd34f867caf4455657 (patch)
tree04c815eda8c63e9130751da859b23c7e617c15d9 /lisp/calendar/calendar.el
parent6b8927e31c5fc0716133e5e6f164427bd0ec3a22 (diff)
downloademacs-fb60b3e130f3e8dffa879fdd34f867caf4455657.tar.gz
From Emilio C. Lopes <eclig@gmx.net>:
(calendar-goto-iso-week): Add autoload. (calendar-mode-map): Add binding for `calendar-goto-iso-week'.
Diffstat (limited to 'lisp/calendar/calendar.el')
-rw-r--r--lisp/calendar/calendar.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 9d38cde21ce..aa0b3005fad 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -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)