emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/s-region.el


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/s-region.el
Date: Wed, 20 Jul 2005 17:48:43 -0400

Index: emacs/lisp/s-region.el
diff -c emacs/lisp/s-region.el:1.11 emacs/lisp/s-region.el:1.12
*** emacs/lisp/s-region.el:1.11 Mon Jul  4 23:08:58 2005
--- emacs/lisp/s-region.el      Wed Jul 20 21:48:43 2005
***************
*** 63,74 ****
      (error "Non-vector key: %S" key)))
  
  (defun s-region-move-p1 (&rest arg)
!   "This is an overlay function to point-moving keys that are interactive 
\"p\""
    (interactive "p")
    (apply (function s-region-move) arg))
  
  (defun s-region-move-p2 (&rest arg)
!   "This is an overlay function to point-moving keys that are interactive 
\"P\""
    (interactive "P")
    (apply (function s-region-move) arg))
  
--- 63,74 ----
      (error "Non-vector key: %S" key)))
  
  (defun s-region-move-p1 (&rest arg)
!   "This is an overlay function to point-moving keys that are interactive 
\"p\"."
    (interactive "p")
    (apply (function s-region-move) arg))
  
  (defun s-region-move-p2 (&rest arg)
!   "This is an overlay function to point-moving keys that are interactive 
\"P\"."
    (interactive "P")
    (apply (function s-region-move) arg))
  
***************
*** 83,92 ****
    (delete-overlay s-region-overlay))
  
  (defun s-region-bind (keylist &optional map)
!   "Bind shifted keys in KEYLIST to s-region-move-p1 or s-region-move-p2.
! Each key in KEYLIST is shifted and bound to one of the s-region-move
  functions provided it is already bound to some command or other.
! Optional third argument MAP specifies keymap to add binding to, defaulting
  to global keymap."
    (let ((p2 (list 'scroll-up 'scroll-down
                  'beginning-of-buffer 'end-of-buffer)))
--- 83,92 ----
    (delete-overlay s-region-overlay))
  
  (defun s-region-bind (keylist &optional map)
!   "Bind shifted keys in KEYLIST to `s-region-move-p1' or `s-region-move-p2'.
! Each key in KEYLIST is shifted and bound to one of the `s-region-move'
  functions provided it is already bound to some command or other.
! Optional second argument MAP specifies keymap to add binding to, defaulting
  to global keymap."
    (let ((p2 (list 'scroll-up 'scroll-down
                  'beginning-of-buffer 'end-of-buffer)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]