]> git.eshelyaron.com Git - emacs.git/commitdiff
(picture-mode-map): Add arrow keys.
authorJuri Linkov <juri@jurta.org>
Tue, 27 Apr 2004 06:46:51 +0000 (06:46 +0000)
committerJuri Linkov <juri@jurta.org>
Tue, 27 Apr 2004 06:46:51 +0000 (06:46 +0000)
lisp/textmodes/picture.el

index 0497a823049ab9d08985b01d6a955d041535d9b4..b3c69ca657ffa4638855f199d520e3fa6cbc9069 100644 (file)
@@ -636,7 +636,15 @@ Leaves the region surrounding the rectangle."
       (define-key picture-mode-map "\C-c`" 'picture-movement-nw)
       (define-key picture-mode-map "\C-c'" 'picture-movement-ne)
       (define-key picture-mode-map "\C-c/" 'picture-movement-sw)
-      (define-key picture-mode-map "\C-c\\" 'picture-movement-se)))
+      (define-key picture-mode-map "\C-c\\" 'picture-movement-se)
+      (define-key picture-mode-map [(control ?c) left]  'picture-movement-left)
+      (define-key picture-mode-map [(control ?c) right] 'picture-movement-right)
+      (define-key picture-mode-map [(control ?c) up]    'picture-movement-up)
+      (define-key picture-mode-map [(control ?c) down]  'picture-movement-down)
+      (define-key picture-mode-map [(control ?c) home]  'picture-movement-nw)
+      (define-key picture-mode-map [(control ?c) prior] 'picture-movement-ne)
+      (define-key picture-mode-map [(control ?c) end]   'picture-movement-sw)
+      (define-key picture-mode-map [(control ?c) next]  'picture-movement-se)))
 
 (defcustom picture-mode-hook nil
   "If non-nil, its value is called on entry to Picture mode.