changeset 4339:2b1aa3183d79

(calendar-mode-map): Bind C-SPC.
author Richard M. Stallman <rms@gnu.org>
date Thu, 29 Jul 1993 05:13:26 +0000
parents 0e9960f5e99c
children 505fb5222dea
files lisp/calendar/calendar.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/calendar.el	Thu Jul 29 04:58:47 1993 +0000
+++ b/lisp/calendar/calendar.el	Thu Jul 29 05:13:26 1993 +0000
@@ -1405,6 +1405,8 @@
   (define-key calendar-mode-map "\e<"   'calendar-beginning-of-year)
   (define-key calendar-mode-map "\e>"   'calendar-end-of-year)
   (define-key calendar-mode-map "\C-@"  'calendar-set-mark)
+  ;; Many people are used to typing C-SPC and getting C-@.
+  (define-key calendar-mode-map [?\C-\ ] 'calendar-set-mark)
   (define-key calendar-mode-map "\C-x\C-x" 'calendar-exchange-point-and-mark)
   (define-key calendar-mode-map "\e=" 'calendar-count-days-region)
   (define-key calendar-mode-map "gd"  'calendar-goto-date)