aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward M. Reingold1994-11-17 21:49:00 +0000
committerEdward M. Reingold1994-11-17 21:49:00 +0000
commit8f12817f58a31ed02ebbeb425069209823360ea1 (patch)
tree8850fd2d819a3c639367e804093fc1566cb2a300
parent051d1419cdd9cab26cb5241baaa0b17442b72624 (diff)
downloademacs-8f12817f58a31ed02ebbeb425069209823360ea1.tar.gz
emacs-8f12817f58a31ed02ebbeb425069209823360ea1.zip
Undefine kill-region and copy-region-as-kill.
-rw-r--r--lisp/calendar/calendar.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 045d8b02927..28dcfc46039 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -1387,13 +1387,10 @@ the inserted text. Value is always t."
1387 (if window-system (require 'cal-menu)) 1387 (if window-system (require 'cal-menu))
1388 (calendar-for-loop i from 0 to 9 do 1388 (calendar-for-loop i from 0 to 9 do
1389 (define-key calendar-mode-map (int-to-string i) 'digit-argument)) 1389 (define-key calendar-mode-map (int-to-string i) 'digit-argument))
1390 ;; kill-region and copy-region-as-kill are omitted from this list
1391 ;; because they cause an ugly second pane in the Edit menu.
1392 (let ((l (list 'narrow-to-region 'mark-word 'mark-sexp 'mark-paragraph 1390 (let ((l (list 'narrow-to-region 'mark-word 'mark-sexp 'mark-paragraph
1393 'mark-defun 'mark-whole-buffer 'mark-page 1391 'mark-defun 'mark-whole-buffer 'mark-page
1394 'downcase-region 'upcase-region 1392 'downcase-region 'upcase-region 'kill-region
1395 'capitalize-region 'write-region))) 1393 'copy-region-as-kill 'capitalize-region 'write-region)))
1396
1397 (while l 1394 (while l
1398 (substitute-key-definition (car l) 'calendar-not-implemented 1395 (substitute-key-definition (car l) 'calendar-not-implemented
1399 calendar-mode-map global-map) 1396 calendar-mode-map global-map)